fix test script so that it doesn't exit

This commit is contained in:
Valentin Boettcher 2020-08-02 11:30:27 +02:00
parent a4ba9f3509
commit 7724e0c100

View file

@ -52,7 +52,7 @@
(str "/bin/bash -c \""
"echo test; "
">&2 echo error;"
"cat /dev/null"
"cat /dev/zero"
"\""))
(deftest systemd-services
@ -66,6 +66,7 @@
(testing "starting the service"
(systemd/start-service! name)
(a/<!! (a/timeout 1000))
(is (= :active (systemd/get-service-state! name))))
(testing "reading the logs"