mirror of
https://github.com/troglobit/finit.git
synced 2026-10-26 12:14:37 +00:00
test: minor, rename test case native -> pid
We now support notify:pid, so let's use it, even though it's the default. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
7d09567ec8
commit
adb25d52cd
1 file changed
+2
-2
+2
-2
@@ -74,7 +74,7 @@ test_one()
|
|||||||
# Issue #343; pidfile.so inadvertedly marked systemd services as
|
# Issue #343; pidfile.so inadvertedly marked systemd services as
|
||||||
# 'started' when they created their PID file. The serv test daemon
|
# 'started' when they created their PID file. The serv test daemon
|
||||||
# waits 3 sec between pidfile and notify to trigger this bug.
|
# waits 3 sec between pidfile and notify to trigger this bug.
|
||||||
if [ "$type" != "native" ]; then
|
if [ "$type" != "pid" ]; then
|
||||||
say "Verify 'ready' is *not* asserted immediately on restart + reload"
|
say "Verify 'ready' is *not* asserted immediately on restart + reload"
|
||||||
run "initctl restart serv"
|
run "initctl restart serv"
|
||||||
run "initctl reload"
|
run "initctl reload"
|
||||||
@@ -103,7 +103,7 @@ test_one()
|
|||||||
|
|
||||||
#run "initctl debug"
|
#run "initctl debug"
|
||||||
|
|
||||||
test_one "native" "service log:stdout serv -np -- pid file readiness"
|
test_one "pid" "service log:stdout notify:pid serv -np -- pid file readiness"
|
||||||
test_one "s6" "service log:stdout notify:s6 serv -n -N %n -- s6 readiness"
|
test_one "s6" "service log:stdout notify:s6 serv -n -N %n -- s6 readiness"
|
||||||
test_one "systemd" "service log:stdout notify:systemd serv -n -- systemd readiness"
|
test_one "systemd" "service log:stdout notify:systemd serv -n -- systemd readiness"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user