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/range-002.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/range-002.sh') diff --git a/test/range-002.sh b/test/range-002.sh index 8703f3a..e04ef35 100755 --- a/test/range-002.sh +++ b/test/range-002.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..." -- cgit v1.2.3-54-g00ecf