tests: Adjust to new "unbound variable" messages.
authorLudovic Courtès <ludo@gnu.org>
Fri, 18 May 2018 13:23:57 +0000 (15:23 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 18 May 2018 22:14:51 +0000 (00:14 +0200)
This is a followup to 2d2f98efb36db3f003d950a004806234962b4f4d.

* tests/guix-system.sh: Adjust regexps to match "error:".

tests/guix-system.sh

index ff9114a..2b94bc0 100644 (file)
@@ -125,9 +125,9 @@ else
     then
        # FIXME: With Guile 2.2.0 the error is reported on line 4.
        # See <http://bugs.gnu.org/26107>.
-       grep "$tmpfile:[49]:[0-9]\+: GRUB-config.*[Uu]nbound variable" "$errorfile"
+       grep "$tmpfile:[49]:[0-9]\+:.*GRUB-config.*[Uu]nbound variable" "$errorfile"
     else
-       grep "$tmpfile:9:[0-9]\+: GRUB-config.*[Uu]nbound variable" "$errorfile"
+       grep "$tmpfile:9:[0-9]\+:.*GRUB-config.*[Uu]nbound variable" "$errorfile"
     fi
 fi