Browse Source

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.
gn-latest-20200428
Ludovic Courtès 3 years ago
parent
commit
477ee222aa
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 8
      tests/guix-package.sh

8
tests/guix-package.sh

@ -60,12 +60,12 @@ test -L "$profile" && test -L "$profile-1-link"
! test -f "$profile-2-link"
test -f "$profile/bin/guile"
# Collisions are properly flagged (in this case, 'python-wrapper' propagates
# python@3, which conflicts with python@2.)
if guix package --bootstrap -n -p "$profile" -i python@2 python-wrapper
# Collisions are properly flagged (in this case, 'g-wrap' propagates
# guile@2.2, which conflicts with guile@2.0.)
if guix package --bootstrap -n -p "$profile" -i g-wrap guile@2.0
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
# No search path env. var. here.

Loading…
Cancel
Save