move test cleanup to the end

This commit is contained in:
Tim Hockin 2021-05-26 14:27:32 -07:00
parent 61ded13b45
commit fd481d0a16
1 changed files with 6 additions and 4 deletions

View File

@ -1262,10 +1262,6 @@ assert_file_eq "$ROOT"/link/file "$TESTCASE"
# Wrap up
pass
echo
echo "cleaning up $DIR"
rm -rf "$DIR"
##############################################
# Test export-error
##############################################
@ -1305,3 +1301,9 @@ assert_file_eq "$ROOT"/link/file "$TESTCASE"
assert_file_absent "$ROOT"/error.json
# Wrap up
pass
# Finally...
echo
echo "cleaning up $DIR"
rm -rf "$DIR"