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