From fd5e00e1d0113fdbf28a546d8dff0366fb3c9a4f Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 23 Dec 2013 16:01:51 -0500 Subject: [PATCH] tests: delete temporary resize test files Since commit 5ad07acad if $TMP cannot hold large test filesystems for resize testing the resize_test creates temporary test files in the local working directory. Since it overrides TMPFILE locally the calling program does not delete the generated file correctly. Delete the large $TMPFILE within resize_test if it passes, but leave it for debugging if the test failed. Signed-off-by: Andreas Dilger Signed-off-by: "Theodore Ts'o" --- tests/scripts/resize_test | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/scripts/resize_test b/tests/scripts/resize_test index 30532a5..6a8b0e9 100755 --- a/tests/scripts/resize_test +++ b/tests/scripts/resize_test @@ -149,6 +149,7 @@ then return 1 fi +rm $TMPFILE return 0 } -- 1.8.3.1