summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-24.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-13 12:34:41 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-28 11:51:27 +0100
commit4962ed9f33af3c12ea2dfb72bdf28ef619c52036 (patch)
treeb546589f277841890dc96df15e94d6672503e2df /test/units/testsuite-24.sh
parenttest: mount root rw and drop /etc/fstab (diff)
downloadsystemd-4962ed9f33af3c12ea2dfb72bdf28ef619c52036.tar.xz
systemd-4962ed9f33af3c12ea2dfb72bdf28ef619c52036.zip
test: make sure to reset state before starting integration tests
Diffstat (limited to 'test/units/testsuite-24.sh')
-rwxr-xr-xtest/units/testsuite-24.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/testsuite-24.sh b/test/units/testsuite-24.sh
index 0e3cb15477..1ff1c3347b 100755
--- a/test/units/testsuite-24.sh
+++ b/test/units/testsuite-24.sh
@@ -6,6 +6,9 @@ NPROC=$(nproc)
MAX_QUEUE_SIZE=${NPROC:-2}
IFS=$'\n' TEST_LIST=($(ls /usr/lib/systemd/tests/test-*))
+# reset state
+rm /failed-tests /skipped-tests /skipped
+
# Check & report test results
# Arguments:
# $1: test path