mirror of
https://github.com/troglobit/finit.git
synced 2026-11-13 17:00:16 +00:00
test: enable debug logs for global-envs
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 file changed
+3
-2
+3
-2
@@ -27,15 +27,16 @@ test_teardown()
|
|||||||
say "Waiting for runlevel 2"
|
say "Waiting for runlevel 2"
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
#run "initctl debug"
|
run "initctl debug"
|
||||||
|
|
||||||
say "Add service stanza to $FINIT_CONF ..."
|
say "Add service stanza to $FINIT_CONF ..."
|
||||||
run "echo 'service serv -np -e foo:bar -- Verify foo=bar' >> $FINIT_CONF"
|
run "echo 'service serv -np -e foo:bar -- Verify foo=bar' >> $FINIT_CONF"
|
||||||
#run "cat $FINIT_CONF"
|
run "cat $FINIT_CONF"
|
||||||
|
|
||||||
say 'Reload Finit'
|
say 'Reload Finit'
|
||||||
run "initctl reload"
|
run "initctl reload"
|
||||||
sleep 1
|
sleep 1
|
||||||
|
run "initctl"
|
||||||
retry 'assert_num_children 1 serv'
|
retry 'assert_num_children 1 serv'
|
||||||
|
|
||||||
say "Modify $FINIT_CONF slightly ..."
|
say "Modify $FINIT_CONF slightly ..."
|
||||||
|
|||||||
Reference in new issue
Block a user