mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
tests: Expect less accurate location info in 2.2.0.
* tests/guix-system.sh: Work around inaccurate location info in 2.2.0.
This commit is contained in:
parent
a9a0227c01
commit
13159c68ef
1 changed files with 8 additions and 1 deletions
|
@ -75,9 +75,16 @@ EOF
|
||||||
|
|
||||||
if guix system build "$tmpfile" -n 2> "$errorfile"
|
if guix system build "$tmpfile" -n 2> "$errorfile"
|
||||||
then false
|
then false
|
||||||
|
else
|
||||||
|
if test "`guile -c '(display (effective-version))'`" = 2.2
|
||||||
|
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"
|
||||||
else
|
else
|
||||||
grep "$tmpfile:9:.*[Uu]nbound variable.*GRUB-config" "$errorfile"
|
grep "$tmpfile:9:.*[Uu]nbound variable.*GRUB-config" "$errorfile"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
OS_BASE='
|
OS_BASE='
|
||||||
(host-name "antelope")
|
(host-name "antelope")
|
||||||
|
|
Loading…
Reference in a new issue