diff mbox

[ndctl] ndctl, test: remove the firmware image file before the test end

Message ID 20180706154455.5600-1-msys.mizuma@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masayoshi Mizuma July 6, 2018, 3:44 p.m. UTC
From: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>

Remove test/update-fw.img before test/firmware-update.sh end.

Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
---
 test/firmware-update.sh | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/test/firmware-update.sh b/test/firmware-update.sh
index 50674a6..7852e58 100755
--- a/test/firmware-update.sh
+++ b/test/firmware-update.sh
@@ -40,5 +40,6 @@  reset
 rc=2
 detect
 do_tests
+rm -f $image
 _cleanup
 exit 0