summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-04-30 12:57:23 +0200
committerLudovic Courtès <ludo@gnu.org>2018-04-30 14:22:43 +0200
commit6ac8b7359a1ac80e558f41dd37004ffa727dd3c6 (patch)
treee83df90254f1bd8f6d994f9900078b2fe4365e81 /tests
parentf675d8b97d2f2acd5277088940601cf5f2eb43db (diff)
guix system: search: Display default Shepherd service names.
Fixes <https://bugs.gnu.org/29707>. Reported by Clément Lassieur <clement@lassieur.org>. * guix/scripts/system/search.scm (service-type-default-shepherd-services) (service-type-shepherd-names): New procedures. (service-type->recutils): Use it. * tests/guix-system.sh: Add test.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-system.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index 211c26f43db..ff9114ab744 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -1,5 +1,5 @@
1# GNU Guix --- Functional package management for GNU 1# GNU Guix --- Functional package management for GNU
2# Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> 2# Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
3# Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> 3# Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
4# Copyright © 2018 Chris Marusich <cmmarusich@gmail.com> 4# Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
5# 5#
@@ -267,6 +267,7 @@ guix system build "$tmpdir/config.scm" -n
267 267
268# Searching. 268# Searching.
269guix system search tor | grep "^name: tor" 269guix system search tor | grep "^name: tor"
270guix system search tor | grep "^shepherdnames: tor"
270guix system search anonym network | grep "^name: tor" 271guix system search anonym network | grep "^name: tor"
271 272
272# Below, use -n (--dry-run) for the tests because if we actually tried to 273# Below, use -n (--dry-run) for the tests because if we actually tried to