mirror of
https://github.com/troglobit/finit.git
synced 2026-11-07 16:01:08 +00:00
Merge pull request #231 from jorgensigvardsson/fix/absolute-var-lock-symlink-breaks-tests
Remove test code that may break tests Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 file changed
+1
-4
+1
-4
@@ -101,7 +101,7 @@ teardown() {
|
|||||||
test_status="$?"
|
test_status="$?"
|
||||||
|
|
||||||
if type test_teardown > /dev/null 2>&1 ; then
|
if type test_teardown > /dev/null 2>&1 ; then
|
||||||
test_teardown
|
test_teardown
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log "$color_reset" '--' ''
|
log "$color_reset" '--' ''
|
||||||
@@ -116,9 +116,6 @@ teardown() {
|
|||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
||||||
if [ -d "$TENV_ROOT/var/lock" ]; then
|
|
||||||
chmod +r "$TENV_ROOT/var/lock"
|
|
||||||
fi
|
|
||||||
rm -f "$TENV_ROOT"/running_test.pid
|
rm -f "$TENV_ROOT"/running_test.pid
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user