aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/guix-package.sh')
-rw-r--r--tests/guix-package.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index 2bc8c573ec..83108601cf 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -30,6 +30,12 @@ guix-package -b -p "$profile" \
test -L "$profile" && test -L "$profile-1-link"
test -f "$profile/bin/guile"
+# Installing the same package a second time does nothing.
+guix-package -b -p "$profile" \
+ -i `guix-build -e '(@@ (distro packages base) %bootstrap-guile)'`
+test -L "$profile" && test -L "$profile-1-link"
+! test -f "$profile-2-link"
+test -f "$profile/bin/guile"
guix-package -b -p "$profile" \
-i `guix-build -e '(@@ (distro packages base) gnu-make-boot0)'`
@@ -53,7 +59,7 @@ esac
test "`guix-package -p "$profile" -I 'g.*e' | cut -f1`" = "guile-bootstrap"
# Remove a package.
-guix-package -b -p "$profile" -r "guile-bootstrap-2.0"
+guix-package -b -p "$profile" -r "guile-bootstrap"
test -L "$profile-3-link"
test -f "$profile/bin/make" && ! test -f "$profile/bin/guile"