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:
parent
aeff4a1dc1
commit
199b3ec00c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user