Fix system test .status file cleanup
This commit is contained in:
@@ -21,5 +21,4 @@ rm -f ns*/keygen.out.* ns*/settime.out.* ns*/signer.out.*
|
||||
rm -f ns*/managed-keys.bind*
|
||||
rm -f ns*/*.mkeys
|
||||
rm -f ns*/zones
|
||||
rm -f tests-checkds.py.status
|
||||
rm -f *.checkds.out
|
||||
|
||||
@@ -14,4 +14,3 @@ rm -f ns*/named.memstats
|
||||
rm -f ns*/named.run
|
||||
rm -f ns*/rpz*.txt
|
||||
rm -rf __pycache__
|
||||
rm -f *.status
|
||||
|
||||
@@ -202,6 +202,7 @@ fi
|
||||
if [ $status -eq 0 ]; then
|
||||
if [ -n "$PYTEST" ]; then
|
||||
for test in $(cd "${systest}" && find . -name "tests*.py"); do
|
||||
rm -f "$systest/$test.status"
|
||||
if start_servers; then
|
||||
run=$((run+1))
|
||||
test_status=0
|
||||
@@ -223,6 +224,7 @@ if [ $status -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
rm -f "$systest/$test.status"
|
||||
else
|
||||
echoinfo "I:$systest:pytest not installed, skipping python tests"
|
||||
fi
|
||||
|
||||
@@ -14,4 +14,3 @@ rm -f ns*/rpz*.txt
|
||||
rm -f */named.conf
|
||||
rm -f */named.run
|
||||
rm -rf __pycache__
|
||||
rm -f *.status
|
||||
|
||||
Reference in New Issue
Block a user