test: more debug azure 3/N

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-04-24 14:28:57 +02:00
1 parent 96376126b3
commit 477bc064d5
1 file changed
+6 -5
+6 -5
View File
@@ -5,7 +5,7 @@
# asserting a condition. # asserting a condition.
set -eu set -eu
TEST_CONF=/etc/finit.d/foo.conf TEST_CONF=/etc/finit.d/cond.conf
TEST_DIR=$(dirname "$0") TEST_DIR=$(dirname "$0")
test_setup() test_setup()
@@ -30,9 +30,10 @@ test_one()
texec sh -c "ls -l /run/ /run/finit/" texec sh -c "ls -l /run/ /run/finit/"
say 'Reload Finit' say 'Reload Finit'
# texec sh -c "initctl debug" texec sh -c "initctl debug"
texec sh -c "initctl ls"
texec sh -c "initctl reload" texec sh -c "initctl reload"
# texec sh -c "initctl status" texec sh -c "initctl status"
# texec sh -c "ps" # texec sh -c "ps"
date date
@@ -46,9 +47,9 @@ test_one()
sleep 2 sleep 2
date date
texec sh -c "ls -l /run/ /run/finit/" texec sh -c "ls -l /run/ /run/finit/"
# texec sh -c "initctl status" texec sh -c "initctl status"
texec sh -c "ps" texec sh -c "ps"
# texec sh -c "initctl status task.sh" texec sh -c "initctl status task.sh"
sleep 1 sleep 1
texec sh -c "echo Hej; cat /run/task.state" texec sh -c "echo Hej; cat /run/task.state"