diff --git a/test/start-stop-sysv.sh b/test/start-stop-sysv.sh index 43181354..17a33756 100755 --- a/test/start-stop-sysv.sh +++ b/test/start-stop-sysv.sh @@ -7,7 +7,8 @@ TEST_DIR=$(dirname "$0") # shellcheck source=/dev/null . "$TEST_DIR/tenv/lib.sh" -test_teardown() { +test_teardown() +{ say "Test done $(date)" say "Running test teardown." diff --git a/test/tenv/lib.sh b/test/tenv/lib.sh index 3508bc4b..c0d59762 100755 --- a/test/tenv/lib.sh +++ b/test/tenv/lib.sh @@ -34,7 +34,7 @@ assert_num_children() # shellcheck disable=SC2086 assert_new_pid() { - assert "Finit has registered new PID" "$(texec initctl |grep $1 |awk '{print $1}')" -eq "$(texec cat $2)" + assert "Finit has registered new PID" "$(texec initctl |grep $1 | awk '{print $1;}')" -eq "$(texec cat $2)" } # shellcheck disable=SC2086