Whamcloud - gitweb
tests: fix d_inline_dump and f_mke2fs_baddisk from leaving behind temp files
authorTheodore Ts'o <tytso@mit.edu>
Sun, 15 Oct 2017 20:19:04 +0000 (16:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 Oct 2017 20:19:04 +0000 (16:19 -0400)
commitfe6e2a7ed801823123663eed001aeeee971fefe3
tree0e165c37701bc24f6733fa93491a7e38d3e7af3d
parent845eac42ed0da466eb4f8e23e0855d8968ac1b7f
tests: fix d_inline_dump and f_mke2fs_baddisk from leaving behind temp files

These two tests could leave an temp file behind if the test is
skipped.  In general test script files should avoid using 'exit',
since this bypasses the test cleanup scripting.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/d_inline_dump/script
tests/f_mke2fs_baddisk/script