mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
test: namespace cleanup, common -> src, tenv -> lib, etc.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -7,12 +7,6 @@ set -eu
|
||||
|
||||
TEST_DIR=$(dirname "$0")
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. "$TEST_DIR/tenv/lib.sh"
|
||||
|
||||
TEST_CONF=$FINIT_RCSD/cond.conf
|
||||
|
||||
|
||||
test_setup()
|
||||
{
|
||||
say "Test start $(date)"
|
||||
@@ -88,4 +82,10 @@ test_one()
|
||||
run "initctl reload"
|
||||
}
|
||||
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. "$TEST_DIR/lib/setup.sh"
|
||||
|
||||
TEST_CONF=$FINIT_RCSD/cond.conf
|
||||
|
||||
test_one "hello" "task <usr/hello> task.sh -- Hello task"
|
||||
|
||||
Reference in New Issue
Block a user