From 199b3ec00c9d3eaa2dda8b34dd9e710349f9fcc8 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Sun, 6 Feb 2022 16:00:08 -0600 Subject: [PATCH] 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 --- tests/pata_test.in | 1 - 1 file changed, 1 deletion(-) 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