From: Glenn Washburn Date: Fri, 17 Sep 2021 23:04:04 +0000 (+0000) Subject: tests: Do not delete filesystem images on error X-Git-Tag: grub-2.12-rc1~542 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be9379ced4d1ce451b37faaceb0a66425c708138;p=thirdparty%2Fgrub.git tests: Do not delete filesystem images on error 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 Reviewed-by: Daniel Kiper --- diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index ce9ae04f4..2dcd09f5e 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 ;;