summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2017-12-04 04:30:28 -0600
committerEric Bavier <bavier@member.fsf.org>2017-12-04 04:30:28 -0600
commit42d16037d857aac02add38513bfa58535c1ddcfe (patch)
tree929e40691dfd26467b73e4fe546dc981210c2b8b /tests
parentb9aab870e5d224f5ae9499a4aa6053f692d7852c (diff)
downloadguix-42d16037d857aac02add38513bfa58535c1ddcfe.tar.gz
tests: Look for multi-digit column numbers in unbound variable test.
* tests/guix-system.sh: Match one or more digits in unbound-variable test.
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 4bb866adfa..213864833a 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]:[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