mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
test: fix path to Finit rcs.d in distcheck
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -5,9 +5,14 @@
|
||||
# asserting a condition.
|
||||
set -eu
|
||||
|
||||
TEST_CONF=/etc/finit.conf
|
||||
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)"
|
||||
@@ -83,7 +88,4 @@ test_one()
|
||||
texec sh -c "initctl reload"
|
||||
}
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. "$TEST_DIR/tenv/lib.sh"
|
||||
|
||||
test_one "hello" "task <usr/hello> task.sh -- Hello task"
|
||||
|
||||
Reference in New Issue
Block a user