From: Andreas Dilger Date: Mon, 23 Dec 2013 21:01:51 +0000 (-0500) Subject: tests: delete temporary resize test files X-Git-Tag: v1.42.9~42 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=fd5e00e1d0113fdbf28a546d8dff0366fb3c9a4f;p=tools%2Fe2fsprogs.git 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" --- 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 }