]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix system test .status file cleanup
authorPetr Špaček <pspacek@isc.org>
Wed, 27 Oct 2021 12:56:58 +0000 (14:56 +0200)
committerPetr Špaček <pspacek@isc.org>
Mon, 8 Nov 2021 12:23:22 +0000 (13:23 +0100)
bin/tests/system/checkds/clean.sh
bin/tests/system/rpzextra/clean.sh
bin/tests/system/run.sh.in
bin/tests/system/shutdown/clean.sh

index 99bafb9829955f90e533b7586f2c0316351c27d3..bb0bf1c4eac291fb233f9afdcb29e16544bf585b 100644 (file)
@@ -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
index dbf193e5eb124f1118752c2aa223c903879e371a..95264d45a4285dddbcc0583702383d1eaf573274 100644 (file)
@@ -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
index 6a6d53ccd1a2159095100b7653db89da0e0c0077..893dd5a76d863fce8f58e38cdcdd3bd5eb0e0e9b 100644 (file)
@@ -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
index 8c82e0ed6b90da0f4765e5f032cfa843f16c6a4f..663bc248852a1a54d3ddae46d99dc94d06191476 100644 (file)
@@ -14,4 +14,3 @@ rm -f ns*/rpz*.txt
 rm -f */named.conf
 rm -f */named.run
 rm -rf __pycache__
-rm -f *.status