summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-10 00:02:30 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-10 00:02:30 +0100
commitb70d72ac47fdc9364a64bd22962b2e11524e38b2 (patch)
tree2fb06c45e3ffe1aa478f0cadb6557488d361ad85 /tests
parente99f045cc81c57d28a0edd0359e4cd76136eea9d (diff)
downloadguix-b70d72ac47fdc9364a64bd22962b2e11524e38b2.tar.gz
tests: Adjust to unbound-variable exception printer.
* tests/guix-system.sh: Adjust unbound-variable test for commit
dc856223f5eab57d8a4881782ec0f50abd12afa3.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-system.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index 1346d8d5a8..4bb866adfa 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -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