From 5002c748767396183eaf1e6adae64de83cdbb6c9 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 5 Apr 2022 06:37:50 +0200 Subject: [PATCH] test: force enable debug logs and HUP Finit before test Signed-off-by: Joachim Wiberg --- test/tenv/lib.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/tenv/lib.sh b/test/tenv/lib.sh index 4e066fbf..d33ba2e6 100755 --- a/test/tenv/lib.sh +++ b/test/tenv/lib.sh @@ -154,7 +154,7 @@ if [ -n "${DEBUG:-}" ]; then FINIT_ARGS="${FINIT_ARGS:-} finit.debug=on" fi # shellcheck disable=2086 -"$TEST_DIR/tenv/start.sh" finit ${FINIT_ARGS:-} & +"$TEST_DIR/tenv/start.sh" finit ${FINIT_ARGS:-} finit.debug=on & finit_ppid=$! echo "$finit_ppid" > "$TENV_ROOT"/running_test.pid @@ -169,4 +169,6 @@ fi #tty=/dev/$(texec cat /sys/class/tty/console/active) #texec cat "$tty" & -#sleep 1 +sleep 5 +kill -HUP "$finit_pid" +