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/run-test-002.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/run-test-002.sh') diff --git a/test/run-test-002.sh b/test/run-test-002.sh index 0c40419..0986d12 100755 --- a/test/run-test-002.sh +++ b/test/run-test-002.sh @@ -1,6 +1,6 @@ #!/bin/sh -. ./test-init.sh +. "${TEST_INIT:-./test-init.sh}" if [ "$1" = 'actual' ]; then echo 23 -- cgit v1.2.3