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 2022-02-06 16:00:08 -06:00 committed by Daniel Kiper
parent aeff4a1dc1
commit 199b3ec00c

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