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:
Joachim Wiberg authored and GitHub committed 2022-02-15 10:47:47 +01:00
commit 3c9053b055
1 file changed
+1 -4
+1 -4
View File
@@ -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
} }