tests: Adjust 'guix package' test to "python2" name.
authorLudovic Courtès <ludo@gnu.org>
Wed, 6 Jun 2018 12:26:09 +0000 (14:26 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 6 Jun 2018 12:37:35 +0000 (14:37 +0200)
This is a followup to a7714d42de2c3082f3609d1e63c83d703fb39cf9, which
renamed Python 2.x to "python2".

* tests/guix-package.sh: Use g-wrap and guile@2.0 when testing
collisions.

tests/guix-package.sh

index aa5eaa6..3b3fa35 100644 (file)
@@ -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.