summaryrefslogtreecommitdiff
path: root/tests/futility/test_dump_fmap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/futility/test_dump_fmap.sh')
-rwxr-xr-xtests/futility/test_dump_fmap.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/futility/test_dump_fmap.sh b/tests/futility/test_dump_fmap.sh
index e4d35d08..1151fc46 100755
--- a/tests/futility/test_dump_fmap.sh
+++ b/tests/futility/test_dump_fmap.sh
@@ -27,4 +27,10 @@ cd "$OUTDIR" # TODO: we really need a directory argument for dump_fmap.
if "$FUTILITY" dump_fmap -x "${SCRIPTDIR}/data_fmap.bin" FMAP ; then
echo Wait, that was supposed to fail. 1>&2
exit 1
+else
+ rm -f FMAP
fi
+
+# cleanup
+rm -f "$TMP"
+exit 0