Fix system test .status file cleanup

This commit is contained in:
Petr Špaček
2021-10-27 14:56:58 +02:00
parent 49da19c353
commit 6495e59a4c
4 changed files with 2 additions and 3 deletions

View 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

View 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

View 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

View File

@@ -14,4 +14,3 @@ rm -f ns*/rpz*.txt
rm -f */named.conf
rm -f */named.run
rm -rf __pycache__
rm -f *.status