From 7904af5d9d798d230573a6a86abd7d3f5b3b51f1 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 8 Jul 2014 14:56:51 +0200 Subject: Implement test initialization properly Make test-init.sh work even if tests are executed from another directory. Signed-off-by: Lukas Fleischer --- test/recur-004.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/recur-004.sh') diff --git a/test/recur-004.sh b/test/recur-004.sh index d218b21..4e7ecee 100755 --- a/test/recur-004.sh +++ b/test/recur-004.sh @@ -1,6 +1,6 @@ #!/bin/sh -. ./test-init.sh +. "${TEST_INIT:-./test-init.sh}" if [ "$1" = 'actual' ]; then "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-recur" \ -- cgit v1.2.3-54-g00ecf