tests: Adjust 'guix package' test to "python2" name.

This is a followup to a7714d42de, which
renamed Python 2.x to "python2".

* tests/guix-package.sh: Use g-wrap and guile@2.0 when testing
collisions.
This commit is contained in:
Ludovic Courtès 2018-06-06 14:26:09 +02:00
parent a99b0ad785
commit 477ee222aa
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 4 deletions

View File

@ -60,12 +60,12 @@ test -L "$profile" && test -L "$profile-1-link"
! test -f "$profile-2-link" ! test -f "$profile-2-link"
test -f "$profile/bin/guile" test -f "$profile/bin/guile"
# Collisions are properly flagged (in this case, 'python-wrapper' propagates # Collisions are properly flagged (in this case, 'g-wrap' propagates
# python@3, which conflicts with python@2.) # guile@2.2, which conflicts with guile@2.0.)
if guix package --bootstrap -n -p "$profile" -i python@2 python-wrapper if guix package --bootstrap -n -p "$profile" -i g-wrap guile@2.0
then false; else true; fi then false; else true; fi
guix package --bootstrap -n -p "$profile" -i python@2 python-wrapper \ guix package --bootstrap -n -p "$profile" -i g-wrap guile@2.0 \
--allow-collisions --allow-collisions
# No search path env. var. here. # No search path env. var. here.