tests: Adjust to unbound-variable exception printer.

* tests/guix-system.sh: Adjust unbound-variable test for commit
dc856223f5.
This commit is contained in:
Ludovic Courtès 2017-11-10 00:02:30 +01:00
parent e99f045cc8
commit b70d72ac47
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

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]:.*[Uu]nbound variable.*GRUB-config" "$errorfile"
grep "$tmpfile:[49]:[0-9]: GRUB-config.*[Uu]nbound variable" "$errorfile"
else
grep "$tmpfile:9:.*[Uu]nbound variable.*GRUB-config" "$errorfile"
grep "$tmpfile:9:[0-9]: GRUB-config.*[Uu]nbound variable" "$errorfile"
fi
fi