Whamcloud - gitweb
tests: don't unlink test image if SKIP_UNLINK set
authorAndreas Dilger <adilger@dilger.ca>
Fri, 22 Jun 2018 15:42:41 +0000 (11:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 22 Jun 2018 15:42:41 +0000 (11:42 -0400)
commit0647f84998bc7eebdde19ae38bb22156b2a0b34e
treea3eb2c3efb3e230096f740e5ad2bf34501826525
parent5cf8bb11001aebeed4af23e463ab77744af95058
tests: don't unlink test image if SKIP_UNLINK set

Don't register a trap to unlink $TMPFILE at the test exit if
SKIP_UNLINK is set.  Otherwise, this makes it difficult to
debug a failing test.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/test_one.in