grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 10/10] tests: Do not delete filesystem images on error


From: Glenn Washburn
Subject: [PATCH 10/10] tests: Do not delete filesystem images on error
Date: Fri, 17 Sep 2021 23:04:04 +0000

The filesystem images created for the filesystem test can be useful when
debugging why a filesystem test failed. So keep them around and let the user
clean them up.

Signed-off-by: Glenn Washburn <development@efficientek.com>
---
 tests/util/grub-fs-tester.in | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in
index 537cdd48b..62f814dc4 100644
--- a/tests/util/grub-fs-tester.in
+++ b/tests/util/grub-fs-tester.in
@@ -932,9 +932,6 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 
1); do
                                sleep 1
                            done
                        done
-                       for i in $(range 0 $((NDEVICES-1)) 1); do
-                           rm "$FSIMAGEP${i}.img"
-                       done
                        exit 99;
                    fi
                    ;;
-- 
2.32.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]