mirror of
https://github.com/troglobit/finit.git
synced 2026-11-02 13:20:32 +00:00
test: cannot use absolute path to initctl (distcheck)
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
c42a6f2869
commit
2b4f89ecd1
1 file changed
+4
-4
@@ -15,10 +15,10 @@ test_setup()
|
|||||||
{
|
{
|
||||||
run "cat >> $FINIT_CONF" <<EOF
|
run "cat >> $FINIT_CONF" <<EOF
|
||||||
service log:stdout name:A serv -np -i A
|
service log:stdout name:A serv -np -i A
|
||||||
service log:stdout notify:systemd <pid/A> name:B serv -np -i B -N 0 -- B needs A
|
service log:stdout notify:systemd <pid/A> name:B serv -np -i B -N 0 -- B needs A
|
||||||
service log:stdout notify:systemd <service/B/ready> name:C serv -np -i C -N 0 -- C needs B(service)
|
service log:stdout notify:systemd <service/B/ready> name:C serv -np -i C -N 0 -- C needs B(service)
|
||||||
service log:stdout notify:systemd <pid/B> name:D serv -np -i D -N 0 -- D needs B(pid)
|
service log:stdout notify:systemd <pid/B> name:D serv -np -i D -N 0 -- D needs B(pid)
|
||||||
task <service/C/ready,service/D/ready> name:allup /sbin/initctl cond set allup -- Everything is up
|
task <service/C/ready,service/D/ready> name:allup initctl cond set allup -- Everything is up
|
||||||
EOF
|
EOF
|
||||||
say "Test start $(date)"
|
say "Test start $(date)"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user