tests: Look for multi-digit column numbers in unbound variable test.
authorEric Bavier <bavier@member.fsf.org>
Mon, 4 Dec 2017 10:30:28 +0000 (04:30 -0600)
committerEric Bavier <bavier@member.fsf.org>
Mon, 4 Dec 2017 10:30:28 +0000 (04:30 -0600)
* tests/guix-system.sh: Match one or more digits in unbound-variable test.

tests/guix-system.sh

index 4bb866a..2138648 100644 (file)
@@ -123,9 +123,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