test: Make /var/lock readable in test teardown, so that it can be removed later

Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
Jacques de Laval committed 2021-02-25 11:14:49 +01:00
1 parent 691bc58f0e
commit 3c32cbfd9e
2 files changed
+4 -3

No files matched your search

+4
View File
@@ -89,6 +89,10 @@ teardown() {
fi
wait
if [ -d "$TESTS_ROOT/var/lock" ]; then
chmod +r test-root/var/lock
fi
rm -f "$TESTS_ROOT"/running_test.pid
}