summaryrefslogtreecommitdiff
path: root/test/recur-003.sh
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-08 14:56:51 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-08 15:12:37 +0200
commit7904af5d9d798d230573a6a86abd7d3f5b3b51f1 (patch)
tree22dca45049f026092fb0f31ef84886756a968083 /test/recur-003.sh
parent8aaaf182684d46865bc22bba0e99cb250245c33c (diff)
downloadcalcurse-7904af5d9d798d230573a6a86abd7d3f5b3b51f1.zip
Implement test initialization properly
Make test-init.sh work even if tests are executed from another directory. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/recur-003.sh')
-rwxr-xr-xtest/recur-003.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recur-003.sh b/test/recur-003.sh
index 7e91cd6..feb00ba 100755
--- a/test/recur-003.sh
+++ b/test/recur-003.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" \