mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
test: fix path to Finit rcs.d in distcheck
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
4c5ac38e2c
commit
fa2a113cbf
1 file changed
+6
-4
@@ -5,9 +5,14 @@
|
|||||||
# asserting a condition.
|
# asserting a condition.
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
TEST_CONF=/etc/finit.conf
|
|
||||||
TEST_DIR=$(dirname "$0")
|
TEST_DIR=$(dirname "$0")
|
||||||
|
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
. "$TEST_DIR/tenv/lib.sh"
|
||||||
|
|
||||||
|
TEST_CONF=$FINIT_RCSD/cond.conf
|
||||||
|
|
||||||
|
|
||||||
test_setup()
|
test_setup()
|
||||||
{
|
{
|
||||||
say "Test start $(date)"
|
say "Test start $(date)"
|
||||||
@@ -83,7 +88,4 @@ test_one()
|
|||||||
texec sh -c "initctl reload"
|
texec sh -c "initctl reload"
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck source=/dev/null
|
|
||||||
. "$TEST_DIR/tenv/lib.sh"
|
|
||||||
|
|
||||||
test_one "hello" "task <usr/hello> task.sh -- Hello task"
|
test_one "hello" "task <usr/hello> task.sh -- Hello task"
|
||||||
Reference in new issue
Block a user