From 9e2523c25f7b8d6e8c29c679ad899703a120eed8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 6 Nov 2020 16:33:14 +0100 Subject: tests: Test "guix system search .". This is a followup to 0c5d0c57d370b34f3ba677838deaa8baf7bca58a. * tests/guix-system.sh: Run "guix system search .". --- tests/guix-system.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/guix-system.sh b/tests/guix-system.sh index 957479ede06..f14c92ca758 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. -- cgit v1.2.3