]> git.cworth.org Git - obsolete/notmuch-old/commit
test: always source test-lib.sh as ./test-lib.sh
authorTomi Ollila <too@iki.fi>
Wed, 21 Nov 2012 15:16:14 +0000 (17:16 +0200)
committerDavid Bremner <bremner@debian.org>
Sun, 25 Nov 2012 02:07:46 +0000 (22:07 -0400)
commit3bd8494da0dfef973c1328b16cd848f144e3ac27
treede2c86c086cec98494465625e526ce319291d383
parent73a9fcf89bd7411d7d69f133a8c8dee313d93a58
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/config
test/emacs
test/emacs-address-cleaning
test/emacs-hello
test/emacs-large-search-buffer
test/emacs-show
test/emacs-subject-to-filename
test/emacs-test-functions
test/help-test