notmuch/test/emacs-test-functions
Tomi Ollila 3bd8494da0 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.
2012-11-24 22:07:46 -04:00

9 lines
167 B
Bash
Executable file

#!/usr/bin/env bash
test_description="emacs test function sanity"
. ./test-lib.sh
test_begin_subtest "emacs test function sanity"
test_emacs_expect_t 't'
test_done