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 <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Glenn Washburn authored and Daniel Kiper committed 2022-02-08 16:06:50 +01:00
1 parent aeff4a1dc1
commit 199b3ec00c
1 file changed
-1
-1
View File
@@ -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