mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
guix system: Add workaround in test for Guile 3.0.0.
* tests/guix-system.sh: For the 'GRUB-config' test, add workaround for the reported line number in Guile 3.0.0.
This commit is contained in:
parent
abbb98714b
commit
1bb30aa35b
1 changed files with 6 additions and 1 deletions
|
@ -120,7 +120,12 @@ EOF
|
|||
if guix system build "$tmpfile" -n 2> "$errorfile"
|
||||
then false
|
||||
else
|
||||
if test "`guile -c '(display (effective-version))'`" = 2.2
|
||||
if test "`guile -c '(display (effective-version))'`" = 3.0
|
||||
then
|
||||
# FIXME: With Guile 3.3.0 the error is reported on line 11.
|
||||
# See <https://bugs.gnu.org/38388>.
|
||||
grep "$tmpfile:[0-9]\+:[0-9]\+:.*GRUB-config.*[Uu]nbound variable" "$errorfile"
|
||||
elif 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>.
|
||||
|
|
Loading…
Reference in a new issue