From adb25d52cdc00d792b0d49fca0ee73ace5e17e7b Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 6 Jan 2024 10:13:13 +0100 Subject: [PATCH] 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 --- test/notify.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/notify.sh b/test/notify.sh index 41c86841..62557848 100755 --- a/test/notify.sh +++ b/test/notify.sh @@ -74,7 +74,7 @@ test_one() # Issue #343; pidfile.so inadvertedly marked systemd services as # 'started' when they created their PID file. The serv test daemon # 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" run "initctl restart serv" run "initctl reload" @@ -103,7 +103,7 @@ test_one() #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 "systemd" "service log:stdout notify:systemd serv -n -- systemd readiness"