summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-05-11 22:28:24 +0200
committerLudovic Courtès <ludo@gnu.org>2020-05-11 23:30:54 +0200
commit647c57207a36435fe4da20a1c8f4cd4bf7234d5b (patch)
tree2c8247a013a6d4ea69c3da9743e4e4022eef141b /tests
parentbaf1ce82b1fa4ccdfe79d2d3d2695c063ead321c (diff)
tests: Test 'guix show' with multiple packages.
* tests/guix-package-aliases.sh: Test 'guix show' with multiple packages.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-package-aliases.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/guix-package-aliases.sh b/tests/guix-package-aliases.sh
index 4beed2e5b71..e24bff3a560 100644
--- a/tests/guix-package-aliases.sh
+++ b/tests/guix-package-aliases.sh
@@ -1,5 +1,5 @@
1# GNU Guix --- Functional package management for GNU 1# GNU Guix --- Functional package management for GNU
2# Copyright © 2019 Ludovic Courtès <ludo@gnu.org> 2# Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
3# 3#
4# This file is part of GNU Guix. 4# This file is part of GNU Guix.
5# 5#
@@ -65,3 +65,8 @@ guix show python@3 | grep "^name: python"
65 65
66# "python@2" exists but is deprecated; make sure it doesn't show up. 66# "python@2" exists but is deprecated; make sure it doesn't show up.
67if guix show python@2; then false; else true; fi 67if guix show python@2; then false; else true; fi
68
69# Specifying multiple packages.
70output="`guix show sed grep | grep ^name:`"
71test "$output" = "name: sed
72name: grep"