aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-package.sh
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2014-07-17 02:36:09 +0200
committerCyril Roelandt <tipecaml@gmail.com>2014-07-21 22:18:03 +0200
commit2aa6efb0b9952595853c05294450b4254f64521e (patch)
treec74d8e0122fd6e4f025595fbec6731ea364dc2c9 /tests/guix-package.sh
parent9c0fc27968c2359c49c324c5f89b38436aa2eb49 (diff)
downloadpatches-2aa6efb0b9952595853c05294450b4254f64521e.tar
patches-2aa6efb0b9952595853c05294450b4254f64521e.tar.gz
guix package: add a "show" option.
* doc/guix.texi: Update the documentation. * guix/scripts/package.scm: Add a "show" option. * tests/guix-package.sh: Add a test for the "show" option.
Diffstat (limited to 'tests/guix-package.sh')
-rw-r--r--tests/guix-package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index 4d75955411..6b99275240 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -176,6 +176,9 @@ then false; else true; fi
# Check whether `--list-available' returns something sensible.
guix package -p "$profile" -A 'gui.*e' | grep guile
+# Check whether `--show' returns something sensible.
+guix package --show=guile | grep "^Package: guile"
+
# There's no generation older than 12 months, so the following command should
# have no effect.
generation="`readlink_base "$profile"`"