mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-27 03:41:41 +01:00
3bd8494da0
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.
12 lines
364 B
Bash
Executable file
12 lines
364 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
test_description="online help"
|
|
. ./test-lib.sh
|
|
|
|
test_expect_success 'notmuch --help' 'notmuch --help'
|
|
test_expect_success 'notmuch --help tag' 'notmuch --help tag'
|
|
test_expect_success 'notmuch help' 'notmuch help'
|
|
test_expect_success 'notmuch help tag' 'notmuch help tag'
|
|
test_expect_success 'notmuch --version' 'notmuch --version'
|
|
|
|
test_done
|