mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
tests: Test 'guix show' with multiple packages.
* tests/guix-package-aliases.sh: Test 'guix show' with multiple packages.
This commit is contained in:
parent
baf1ce82b1
commit
647c57207a
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
# GNU Guix --- Functional package management for GNU
|
||||
# Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
|
||||
# Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||
#
|
||||
# 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"
|
||||
|
|
Loading…
Reference in a new issue