move test cleanup to the end

This commit is contained in:
Tim Hockin 2021-05-26 14:28:24 -07:00
parent 5e9516d2b4
commit 16c3bf7dd1
1 changed files with 6 additions and 4 deletions

View File

@ -1346,10 +1346,6 @@ assert_file_eq "$ROOT"/link/file "$TESTCASE"
# Wrap up
pass
echo
echo "all tests passed: cleaning up $DIR"
rm -rf "$DIR"
##############################################
# Test export-error
##############################################
@ -1421,3 +1417,9 @@ assert_file_absent "$ROOT"/link/dir
assert_file_eq "$ROOT"/link/file2 "$TESTCASE"
# Wrap up
pass
# Finally...
echo
echo "all tests passed: cleaning up $DIR"
rm -rf "$DIR"