diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-08 14:56:51 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-08 15:12:37 +0200 |
commit | 7904af5d9d798d230573a6a86abd7d3f5b3b51f1 (patch) | |
tree | 22dca45049f026092fb0f31ef84886756a968083 /test/search-001.sh | |
parent | 8aaaf182684d46865bc22bba0e99cb250245c33c (diff) | |
download | calcurse-7904af5d9d798d230573a6a86abd7d3f5b3b51f1.tar.gz calcurse-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/search-001.sh')
-rwxr-xr-x | test/search-001.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/search-001.sh b/test/search-001.sh index 9be0a3b..810109a 100755 --- a/test/search-001.sh +++ b/test/search-001.sh @@ -1,6 +1,6 @@ #!/bin/sh -. ./test-init.sh +. "${TEST_INIT:-./test-init.sh}" if [ ! -x "$(command -v faketime)" ]; then echo "libfaketime not found - skipping $0..." |