From ee20bdcaa595bf5b3dd9805e313c80273c648d2c Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Wed, 26 May 2021 14:28:24 -0700 Subject: [PATCH] move test cleanup to the end --- test_e2e.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test_e2e.sh b/test_e2e.sh index f57609ef2..69857d171 100755 --- a/test_e2e.sh +++ b/test_e2e.sh @@ -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" +