Skip to content

Commit 16c3bf7

Browse files
committed
move test cleanup to the end
1 parent 5e9516d commit 16c3bf7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test_e2e.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,10 +1346,6 @@ assert_file_eq "$ROOT"/link/file "$TESTCASE"
13461346
# Wrap up
13471347
pass
13481348

1349-
echo
1350-
echo "all tests passed: cleaning up $DIR"
1351-
rm -rf "$DIR"
1352-
13531349
##############################################
13541350
# Test export-error
13551351
##############################################
@@ -1421,3 +1417,9 @@ assert_file_absent "$ROOT"/link/dir
14211417
assert_file_eq "$ROOT"/link/file2 "$TESTCASE"
14221418
# Wrap up
14231419
pass
1420+
1421+
# Finally...
1422+
echo
1423+
echo "all tests passed: cleaning up $DIR"
1424+
rm -rf "$DIR"
1425+

0 commit comments

Comments
 (0)