test: fix path to Finit rcs.d in distcheck
# 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"
