mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
tests: Test "guix system search .".
This is a followup to 0c5d0c57d3
.
* tests/guix-system.sh: Run "guix system search .".
This commit is contained in:
parent
3c69e81d85
commit
9e2523c25f
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue