mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 01:00:00 -04:00
Use the result of clean.sh and setup.sh command directly
This commit is contained in:
parent
1202fd912a
commit
0fe5753315
1 changed files with 4 additions and 8 deletions
|
|
@ -185,10 +185,8 @@ fi
|
|||
# Clean up files left from any potential previous runs
|
||||
if test -f "$systest/clean.sh"
|
||||
then
|
||||
( cd "${systest}" && $SHELL clean.sh "$@" )
|
||||
ret=$?
|
||||
if [ $ret -ne 0 ]; then
|
||||
echowarn "I:$systest:clean.sh script failed with $ret"
|
||||
if ! ( cd "${systest}" && $SHELL clean.sh "$@" ); then
|
||||
echowarn "I:$systest:clean.sh script failed"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
|
@ -196,10 +194,8 @@ fi
|
|||
# Set up any dynamically generated test data
|
||||
if test -f "$systest/setup.sh"
|
||||
then
|
||||
( cd "${systest}" && $SHELL setup.sh "$@" )
|
||||
ret=$?
|
||||
if [ $ret -ne 0 ]; then
|
||||
echowarn "I:$systest:clean.sh script failed with $ret"
|
||||
if ! ( cd "${systest}" && $SHELL setup.sh "$@" ); then
|
||||
echowarn "I:$systest:clean.sh script failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue