mirror of
https://github.com/troglobit/finit.git
synced 2026-10-25 12:04:36 +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
|
||||
|
||||
wait
|
||||
|
||||
if [ -d "$TESTS_ROOT/var/lock" ]; then
|
||||
chmod +r test-root/var/lock
|
||||
fi
|
||||
rm -f "$TESTS_ROOT"/running_test.pid
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user