[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: tests: Test 'guix show' with multiple packages.
From: |
guix-commits |
Subject: |
02/07: tests: Test 'guix show' with multiple packages. |
Date: |
Mon, 11 May 2020 17:31:53 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 647c57207a36435fe4da20a1c8f4cd4bf7234d5b
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon May 11 22:28:24 2020 +0200
tests: Test 'guix show' with multiple packages.
* tests/guix-package-aliases.sh: Test 'guix show' with multiple packages.
---
tests/guix-package-aliases.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/guix-package-aliases.sh b/tests/guix-package-aliases.sh
index 4beed2e..e24bff3 100644
--- a/tests/guix-package-aliases.sh
+++ b/tests/guix-package-aliases.sh
@@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
-# Copyright © 2019 Ludovic Courtès <address@hidden>
+# Copyright © 2019, 2020 Ludovic Courtès <address@hidden>
#
# This file is part of GNU Guix.
#
@@ -65,3 +65,8 @@ guix show python@3 | grep "^name: python"
# "python@2" exists but is deprecated; make sure it doesn't show up.
if guix show python@2; then false; else true; fi
+
+# Specifying multiple packages.
+output="`guix show sed grep | grep ^name:`"
+test "$output" = "name: sed
+name: grep"
- branch master updated (bdc801e -> 8c97013), guix-commits, 2020/05/11
- 06/07: guix graph: Add '--path'., guix-commits, 2020/05/11
- 03/07: doc: Mention xdot., guix-commits, 2020/05/11
- 02/07: tests: Test 'guix show' with multiple packages.,
guix-commits <=
- 01/07: guix package, show: Support multiple queries., guix-commits, 2020/05/11
- 04/07: graph: reference/referrer node types work with graph traversal., guix-commits, 2020/05/11
- 05/07: graph: Add 'shortest-path'., guix-commits, 2020/05/11
- 07/07: news: Add entry for 'guix graph --path'., guix-commits, 2020/05/11