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-002.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/recur-002.sh') diff --git a/test/recur-002.sh b/test/recur-002.sh index f22bd5e..e385c1a 100755 --- a/test/recur-002.sh +++ b/test/recur-002.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