aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/emacs-subject-to-filename
diff options
context:
space:
mode:
authorGravatar Tomi Ollila <too@iki.fi>2012-11-21 17:16:14 +0200
committerGravatar David Bremner <bremner@debian.org>2012-11-24 22:07:46 -0400
commit3bd8494da0dfef973c1328b16cd848f144e3ac27 (patch)
treede2c86c086cec98494465625e526ce319291d383 /test/emacs-subject-to-filename
parent73a9fcf89bd7411d7d69f133a8c8dee313d93a58 (diff)
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.
Diffstat (limited to 'test/emacs-subject-to-filename')
-rwxr-xr-xtest/emacs-subject-to-filename2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/emacs-subject-to-filename b/test/emacs-subject-to-filename
index a0ffdfef..43529a48 100755
--- a/test/emacs-subject-to-filename
+++ b/test/emacs-subject-to-filename
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
test_description="emacs: mail subject to filename"
-. test-lib.sh
+. ./test-lib.sh
# emacs server can't be started in a child process with $(test_emacs ...)
test_emacs '(ignore)'