Files
finit/test/bootstrap-crash.sh
T
2023-02-11 16:48:21 +01:00

31 lines
512 B
Bash
Executable File

#!/bin/sh
# Regression test for issue #351. A run/task that never completes
# successfully in runlevel S should not respawn forever.
#set -eu
TEST_DIR=$(dirname "$0")
DEBUG=1
BOOTSTRAP="run [S] crasher.sh -- Party crasher"
# shellcheck source=/dev/null
. "$TEST_DIR/lib/setup.sh"
test_setup()
{
say "Test start $(date)"
}
test_teardown()
{
say "Test done $(date)"
say "Running test teardown."
run "rm -f $TEST_CONF"
}
say "Hello SMTP Spoken here"
#sleep 1
#run initctl
#run initctl status crasher.sh