tests: Look for multi-digit column numbers in unbound variable test.

* tests/guix-system.sh: Match one or more digits in unbound-variable test.
This commit is contained in:
Eric Bavier 2017-12-04 04:30:28 -06:00
parent b9aab870e5
commit 42d16037d8
No known key found for this signature in database
GPG key ID: FD73CAC719D32566

View 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