From: Glenn Washburn Date: Sun, 6 Feb 2022 22:00:08 +0000 (-0600) Subject: tests: Do not remove image file on error in pata_test X-Git-Tag: grub-2.12-rc1~485 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=199b3ec00c9d3eaa2dda8b34dd9e710349f9fcc8;p=thirdparty%2Fgrub.git tests: Do not remove image file on error in pata_test The image file can be useful in debugging an issue when the test fails. Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/tests/pata_test.in b/tests/pata_test.in index 4fee0b0fb..27dccec19 100644 --- a/tests/pata_test.in +++ b/tests/pata_test.in @@ -47,7 +47,6 @@ tar cf "$imgfile" "$outfile" v=$(echo "nativedisk; source '($indisk)/$outfile';" | "${grubshell}" --qemu-opts="-$disk $imgfile") if [ "$v" != "Hello World" ]; then - rm "$imgfile" rm "$outfile" exit 1 fi