]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests: Do not delete filesystem images on error
authorGlenn Washburn <development@efficientek.com>
Fri, 17 Sep 2021 23:04:04 +0000 (23:04 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 14 Oct 2021 13:37:13 +0000 (15:37 +0200)
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>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-fs-tester.in

index ce9ae04f4ecfd0b39836a665684297976b14ff54..2dcd09f5e0c1ea20e58093d08205f8880dab6afd 100644 (file)
@@ -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
                    ;;