test: reindent

Standard Emacs shell-mode 4-space indent.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-09-18 06:38:59 +02:00
1 parent efed0db16b
commit 8904ca993e
2 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ test_one()
run "touch $TEST_CONF" run "touch $TEST_CONF"
run "initctl reload" run "initctl reload"
sleep 1 sleep 1
# run "initctl status task.sh" # run "initctl status task.sh"
assert_file_contains /run/task.state 3 assert_file_contains /run/task.state 3
say "Done, drop stanza from $TEST_CONF ..." say "Done, drop stanza from $TEST_CONF ..."
+7 -7
View File
@@ -37,11 +37,11 @@ test_one()
run "initctl reload" run "initctl reload"
sleep 1 sleep 1
# run "initctl status serv" # run "initctl status serv"
assert_status "serv" "running" assert_status "serv" "running"
sleep 2 sleep 2
# run "initctl cond dump" # run "initctl cond dump"
assert_cond "service/serv/ready" assert_cond "service/serv/ready"
say "Verify 'ready' is set after SIGHUP ..." say "Verify 'ready' is set after SIGHUP ..."
@@ -52,7 +52,7 @@ test_one()
# Issue #343 # Issue #343
say "Verify 'ready' is reasserted if service crashes and is restarted ..." say "Verify 'ready' is reasserted if service crashes and is restarted ..."
# run "initctl status serv" # run "initctl status serv"
run "initctl signal serv 9" run "initctl signal serv 9"
retry 'assert_status "serv" "running"' 2 1 retry 'assert_status "serv" "running"' 2 1
retry 'assert_cond "service/serv/ready"' 3 1 retry 'assert_cond "service/serv/ready"' 3 1
@@ -67,7 +67,7 @@ test_one()
say "Verify 'ready' is reasserted on 'initctl reload' ..." say "Verify 'ready' is reasserted on 'initctl reload' ..."
run "initctl reload" run "initctl reload"
sleep 1 sleep 1
# run "initctl; initctl cond dump" # run "initctl; initctl cond dump"
assert_status "serv" "running" assert_status "serv" "running"
assert_cond "service/serv/ready" assert_cond "service/serv/ready"
@@ -93,9 +93,9 @@ test_one()
run "rm -f $FINIT_CONF" run "rm -f $FINIT_CONF"
run "initctl reload" run "initctl reload"
# sleep 2 # sleep 2
# num=$(run "find /proc/1/fd |wc -l") # num=$(run "find /proc/1/fd |wc -l")
# say "finit: number of open file descriptors after test: $num" # say "finit: number of open file descriptors after test: $num"
} }
# shellcheck source=/dev/null # shellcheck source=/dev/null