]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
grub-fs-tester: consistently print output of grub ls if test fails
authorAndrei Borzenkov <arvidjaar@gmail.com>
Thu, 20 Nov 2014 17:56:51 +0000 (20:56 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Thu, 20 Nov 2014 17:56:51 +0000 (20:56 +0300)
ChangeLog
tests/util/grub-fs-tester.in

index b86feea8da623789b1eb008dc2c330129be00b42..6fbec061d6e9c11ca816cbd3afd88596ae4f1ff4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-20  Andrei Borzenkov  <arvidjaar@gmail.com>
+
+       * tests/util/grub-fs-tester.in: Consistently print output
+       of grub ls if test fails.
+
 2014-11-07  Leif Lindholm <leif.lindholm@linaro.org>
 
        * grub-core/kern/efi/init.c: check value of *path before
index 669527a90b6bc5c73b6657d0ddfe9ee607014af1..5656927250939eed8fa004549e4b9388f098b198 100644 (file)
@@ -1065,6 +1065,7 @@ for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE +
                :
            else
                echo NLIST FAIL
+               echo "$LSROUT"
                TZ=UTC ls --time-style=+%Y%m%d%H%M%S.%N -lA "$MNTPOINTRO"
                exit 1
            fi
@@ -1082,6 +1083,7 @@ for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE +
                :
            else
                echo LONG LIST FAIL
+               echo "$LSROUT"
                TZ=UTC ls --time-style=+%Y%m%d%H%M%S.%N -l "$MNTPOINTRO"
                exit 1
            fi