X-Git-Url: http://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/660dbe65641851aa99b810e4ae065a5f72dc37d0..dac3fc069287ca2233e941c12d305954ad30f947:/tests/guix-package-aliases.sh diff --git a/tests/guix-package-aliases.sh b/tests/guix-package-aliases.sh index 4beed2e5b7..e24bff3a56 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 +# Copyright © 2019, 2020 Ludovic Courtès # # 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"