[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: tests: Test "guix system search .".
From: |
guix-commits |
Subject: |
02/02: tests: Test "guix system search .". |
Date: |
Fri, 6 Nov 2020 10:38:35 -0500 (EST) |
civodul pushed a commit to branch version-1.2.0
in repository guix.
commit 9e2523c25f7b8d6e8c29c679ad899703a120eed8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Nov 6 16:33:14 2020 +0100
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(+)
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index 957479e..f14c92c 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.