mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07: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
-4
@@ -101,7 +101,7 @@ teardown() {
|
||||
test_status="$?"
|
||||
|
||||
if type test_teardown > /dev/null 2>&1 ; then
|
||||
test_teardown
|
||||
test_teardown
|
||||
fi
|
||||
|
||||
log "$color_reset" '--' ''
|
||||
@@ -116,9 +116,6 @@ teardown() {
|
||||
|
||||
wait
|
||||
|
||||
if [ -d "$TENV_ROOT/var/lock" ]; then
|
||||
chmod +r "$TENV_ROOT/var/lock"
|
||||
fi
|
||||
rm -f "$TENV_ROOT"/running_test.pid
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user