[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/5] tests: Do not remove image file on error in pata_test
From: |
Glenn Washburn |
Subject: |
[PATCH 1/5] tests: Do not remove image file on error in pata_test |
Date: |
Wed, 12 Jan 2022 21:59:39 -0600 |
The image file can be useful in debugging an issue when the test fails.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
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
--
2.27.0