services: ganeti: Fix tests.
* gnu/tests/ganeti.scm (run-ganeti-test)["force-start wconfd"]: Don't use INVOKE. ["gnt-os list"]: Import (ice-9 textual-ports).master
parent
b41ea5dcd4
commit
a71ce15c73
|
@ -165,9 +165,9 @@
|
||||||
(marionette-eval
|
(marionette-eval
|
||||||
'(begin
|
'(begin
|
||||||
(setenv "PATH" "/run/current-system/profile/bin")
|
(setenv "PATH" "/run/current-system/profile/bin")
|
||||||
(invoke "herd" "stop" "ganeti-wconfd")
|
(and (zero? (system* "herd" "stop" "ganeti-wconfd"))
|
||||||
(invoke "herd" "disable" "ganeti-wconfd")
|
(zero? (system* "herd" "disable" "ganeti-wconfd"))
|
||||||
(invoke "herd" "force-start" "ganeti-wconfd"))
|
(zero? (system* "herd" "force-start" "ganeti-wconfd"))))
|
||||||
marionette))
|
marionette))
|
||||||
|
|
||||||
;; Verify that the cluster is healthy.
|
;; Verify that the cluster is healthy.
|
||||||
|
@ -230,7 +230,8 @@
|
||||||
"debootstrap+default\nguix+default\n"
|
"debootstrap+default\nguix+default\n"
|
||||||
(marionette-eval
|
(marionette-eval
|
||||||
'(begin
|
'(begin
|
||||||
(use-modules (ice-9 popen))
|
(use-modules (ice-9 popen)
|
||||||
|
(ice-9 textual-ports))
|
||||||
(let* ((port (open-pipe*
|
(let* ((port (open-pipe*
|
||||||
OPEN_READ
|
OPEN_READ
|
||||||
#$(file-append ganeti "/sbin/gnt-os")
|
#$(file-append ganeti "/sbin/gnt-os")
|
||||||
|
|
Reference in New Issue