mirror of
https://github.com/vale981/stream
synced 2025-03-05 10:01:39 -05:00
fix test script so that it doesn't exit
This commit is contained in:
parent
a4ba9f3509
commit
7724e0c100
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
||||||
(str "/bin/bash -c \""
|
(str "/bin/bash -c \""
|
||||||
"echo test; "
|
"echo test; "
|
||||||
">&2 echo error;"
|
">&2 echo error;"
|
||||||
"cat /dev/null"
|
"cat /dev/zero"
|
||||||
"\""))
|
"\""))
|
||||||
|
|
||||||
(deftest systemd-services
|
(deftest systemd-services
|
||||||
|
@ -66,6 +66,7 @@
|
||||||
|
|
||||||
(testing "starting the service"
|
(testing "starting the service"
|
||||||
(systemd/start-service! name)
|
(systemd/start-service! name)
|
||||||
|
(a/<!! (a/timeout 1000))
|
||||||
(is (= :active (systemd/get-service-state! name))))
|
(is (= :active (systemd/get-service-state! name))))
|
||||||
|
|
||||||
(testing "reading the logs"
|
(testing "reading the logs"
|
||||||
|
|
Loading…
Add table
Reference in a new issue