]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests: Show host determined fs UUID when hfs UUID test fails
authorGlenn Washburn <development@efficientek.com>
Thu, 12 May 2022 03:19:44 +0000 (22:19 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 7 Jun 2022 10:36:55 +0000 (12:36 +0200)
On failure, the hfs test should show both the host and GRUB determined fs
UUID. Prior to this change, both outputs where generated by GRUB, which is
less helpful in determining the cause of failure.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-fs-tester.in

index 3c1d712ded7d7e5d49e9d080c7e078671893b038..43f6175c3b892d7f4506e1a01c1f94177f02a19c 100644 (file)
@@ -1353,6 +1353,7 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do
                        :
                    else
                        echo UUID FAIL
+                       echo "$FSUUID"
                        echo "$LSOUT"
                        echo "$GRUBUUID"
                        for lodev in $LODEVICES; do