mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
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:
1 parent
691bc58f0e
commit
3c32cbfd9e
2 files changed
+4
-3
No files matched your search
@@ -89,6 +89,10 @@ teardown() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
||||||
|
if [ -d "$TESTS_ROOT/var/lock" ]; then
|
||||||
|
chmod +r test-root/var/lock
|
||||||
|
fi
|
||||||
rm -f "$TESTS_ROOT"/running_test.pid
|
rm -f "$TESTS_ROOT"/running_test.pid
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,5 @@
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
if [ -d test-root/var/lock ]; then
|
|
||||||
chmod +r test-root/var/lock
|
|
||||||
fi
|
|
||||||
make -C test-root/ clean
|
make -C test-root/ clean
|
||||||
rm -f test.env
|
rm -f test.env
|
||||||
Reference in new issue
Block a user