summaryrefslogtreecommitdiff
path: root/gnu/tests/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-21 13:17:40 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-21 16:16:38 +0200
commitfb32e226ce3d3cd9bf12989850b2dd719266d583 (patch)
treecd82ad87da12d9e3869f6d4147fc06d2da910b9e /gnu/tests/base.scm
parent95731b4ef1991f5b85aa9ec9d4fb97c006bec65d (diff)
tests: Use the client 'start-service' procedure.
The previous code worked "by chance": 'start' from (shepherd service) happened to be in scope because the marionette REPL is created by a mere 'primitive-fork', and 'start' happened to kinda work. * gnu/tests/base.scm (run-basic-test): Use 'start-service' from (gnu services herd), not 'start' from (shepherd service), which is not supposed to work. * gnu/tests/install.scm (run-install): Likewise.
Diffstat (limited to 'gnu/tests/base.scm')
-rw-r--r--gnu/tests/base.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm
index 97edbbc6ada..5584628514c 100644
--- a/gnu/tests/base.scm
+++ b/gnu/tests/base.scm
@@ -148,7 +148,7 @@ Otherwise assume that there is no password for root."
(marionette-eval
`(begin
(use-modules (gnu services herd))
- (start 'user-processes)
+ (start-service 'user-processes)
((@@ (gnu services herd) eval-there)
'(let ((result (read (current-input-port))))
(if (eof-object? result)