tests: Test "guix system search .".

This is a followup to 0c5d0c57d3.

* tests/guix-system.sh: Run "guix system search .".
This commit is contained in:
Ludovic Courtès 2020-11-06 16:33:14 +01:00
parent 3c69e81d85
commit 9e2523c25f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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.