mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
test: enable bootstrap-crash, regression test for #351
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+6
-10
@@ -4,7 +4,8 @@
|
||||
#set -eu
|
||||
|
||||
TEST_DIR=$(dirname "$0")
|
||||
DEBUG=1
|
||||
#DEBUG=1
|
||||
# shellcheck disable=SC2034
|
||||
BOOTSTRAP="run [S] crasher.sh -- Party crasher"
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
@@ -12,22 +13,17 @@ BOOTSTRAP="run [S] crasher.sh -- Party crasher"
|
||||
|
||||
test_setup()
|
||||
{
|
||||
say "Test start $(date)"
|
||||
say "Test start $(date)"
|
||||
}
|
||||
|
||||
test_teardown()
|
||||
{
|
||||
say "Test done $(date)"
|
||||
say "Running test teardown."
|
||||
run "rm -f $TEST_CONF"
|
||||
say "Test done $(date)"
|
||||
}
|
||||
|
||||
say "Hello SMTP Spoken here"
|
||||
run initctl
|
||||
run initctl status crasher.sh
|
||||
|
||||
sleep 10
|
||||
say "We are done"
|
||||
#run initctl
|
||||
#run initctl status crasher.sh
|
||||
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user