mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
regtests: Do not complain if a patch has not been found
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3932 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -175,9 +175,9 @@ EOF
|
||||
function test_scst_tree_patches {
|
||||
local rc=0
|
||||
echo "Testing whether the SCST patches apply cleanly to the SCST tree ..."
|
||||
for p in *.patch srpt/patches/scst_increase_max_tgt_cmds.patch
|
||||
for p in *.patch srpt/patches/scst*.patch
|
||||
do
|
||||
if ! patch -p0 -f --dry-run -s <$p &>/dev/null; then
|
||||
if [ -e "$p" ] && ! patch -p0 -f --dry-run -s <$p &>/dev/null; then
|
||||
echo "ERROR: patch $p does not apply cleanly."
|
||||
rc=1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user