[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 1/5] tests: Do not remove image file on error in pata_test
From: |
Glenn Washburn |
Subject: |
[PATCH v3 1/5] tests: Do not remove image file on error in pata_test |
Date: |
Sun, 6 Feb 2022 16:00:08 -0600 |
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>
---
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
- [PATCH v3 0/5] Various test fixes and improvements, Glenn Washburn, 2022/02/06
- [PATCH v3 1/5] tests: Do not remove image file on error in pata_test,
Glenn Washburn <=
- [PATCH v3 5/5] tests: Ensure that loopback devices and zfs devices are cleaned up, Glenn Washburn, 2022/02/06
- [PATCH v3 4/5] tests: Ensure that mountpoints are unmounted before exiting, Glenn Washburn, 2022/02/06
- [PATCH v3 3/5] tests: Remove $((BASE#NUM)) bashism in grub-fs-tester, Glenn Washburn, 2022/02/06
- [PATCH v3 2/5] tests: Skip pata_test on i386-efi, Glenn Washburn, 2022/02/06
- Re: [PATCH v3 0/5] Various test fixes and improvements, Daniel Kiper, 2022/02/08