mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07: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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -2,8 +2,5 @@
|
||||
|
||||
set -eu
|
||||
|
||||
if [ -d test-root/var/lock ]; then
|
||||
chmod +r test-root/var/lock
|
||||
fi
|
||||
make -C test-root/ clean
|
||||
rm -f test.env
|
||||
|
||||
Reference in New Issue
Block a user