summaryrefslogtreecommitdiff
path: root/tests/guix-package.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-19 23:02:59 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-19 23:04:38 +0100
commit64fc89b6ec0928f7bbd7011d6a8dc325d63f4fe5 (patch)
tree131fad75147e00ae73c7201f557df1fdd540011a /tests/guix-package.sh
parentba326ce41b5784f3acb99d4beae5ffc455d6a27e (diff)
guix-package: Add `--list-available'.
* guix-package.in (show-help, %options): Add `--list-available'. (guix-package)[process-query]: Add support for `--list-available'. * doc/guix.texi (Invoking guix-package): Document it. * tests/guix-package.sh: Add test. * guix/ui.scm (location->string): New procedure. * guix/utils.scm: Export <location>.
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 6c457ffd4b..c47ebe6fe7 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -57,4 +57,7 @@ test -f "$profile/bin/make" && ! test -f "$profile/bin/guile"
# Make sure the `:' syntax works.
guix-package -b -i "libsigsegv:lib" -n
+# Check whether `--list-available' returns something sensible.
+guix-package -A 'gui.*e' | grep guile
+
rm "$profile" "$profile-"[0-9]*