From 3bd8494da0dfef973c1328b16cd848f144e3ac27 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 21 Nov 2012 17:16:14 +0200 Subject: test: always source test-lib.sh as ./test-lib.sh There are currently 45 TESTS scripts. 36 of those load test-lib.sh using '. ./test-lib.sh' and 9 '. test-lib.sh'. In latter case test-lib.sh is first searched from directories in PATH (posix) and then from current directory (bash feature). Changed the 9 files to execute '. ./test-lib.sh'. The test-lib.sh should never be loaded from directory in PATH. --- test/emacs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/emacs') diff --git a/test/emacs b/test/emacs index 5649d55f..74155f8c 100755 --- a/test/emacs +++ b/test/emacs @@ -1,7 +1,7 @@ #!/usr/bin/env bash test_description="emacs interface" -. test-lib.sh +. ./test-lib.sh EXPECTED=$TEST_DIRECTORY/emacs.expected-output -- cgit v1.2.3