]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests: Output list of devices when partmap fails
authorGlenn Washburn <development@efficientek.com>
Fri, 17 Sep 2021 23:04:03 +0000 (23:04 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 14 Oct 2021 13:35:10 +0000 (15:35 +0200)
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/partmap_test.in

index e72af9ce4710300e8bcaafd16c4b3b716b3f5987..0043bcf4c74138b08a97201f7de15f5dbe29981b 100644 (file)
@@ -43,7 +43,7 @@ check_output () {
     for dsk in $@; do
        if ! grep "($dsk)" "${outfile}" >/dev/null
        then
-           echo "($dsk): disk/partiton not found"
+           echo "($dsk): disk/partiton not found in: $(cat "${outfile}")"
            exit 1
        fi
     done