diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-11-06 16:33:14 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-06 16:38:12 +0100 |
commit | 9e2523c25f7b8d6e8c29c679ad899703a120eed8 (patch) | |
tree | 6cca578cd3da6d4769c2847a10efe1080026c95f /tests | |
parent | 3c69e81d85e337ccceb2248c497bd1732a63f7ec (diff) |
tests: Test "guix system search .".
This is a followup to 0c5d0c57d370b34f3ba677838deaa8baf7bca58a.
* tests/guix-system.sh: Run "guix system search .".
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-system.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/guix-system.sh b/tests/guix-system.sh index 957479ede0..f14c92ca75 100644 --- a/tests/guix-system.sh +++ b/tests/guix-system.sh @@ -315,6 +315,9 @@ guix system build "$tmpdir/config.scm" -n 2>&1 | \ guix system search tor | grep "^name: tor" guix system search tor | grep "^shepherdnames: tor" guix system search anonym network | grep "^name: tor" +guix system search . > "$tmpdir/search" +test $(wc -l < "$tmpdir/search") -gt 500 +rm "$tmpdir/search" # Below, use -n (--dry-run) for the tests because if we actually tried to # build these images, the commands would take hours to run in the worst case. |