Whamcloud - gitweb
tests: delete temporary resize test files
authorAndreas Dilger <adilger@dilger.ca>
Mon, 23 Dec 2013 21:01:51 +0000 (16:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Dec 2013 21:01:56 +0000 (16:01 -0500)
commitfd5e00e1d0113fdbf28a546d8dff0366fb3c9a4f
tree23508c2500ee87f0032ded05364766e915d3c23c
parente9a8c0c2d46a46c01c6a6daa5db14df72a7ad6aa
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 <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/scripts/resize_test