mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: add simple tests for online help
Nothing fancy, but we can at least detect segmentation faults.
This commit is contained in:
parent
c0d8ebe36e
commit
398b94bb39
2 changed files with 13 additions and 0 deletions
12
test/help-test
Executable file
12
test/help-test
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/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
|
|
@ -18,6 +18,7 @@ cd $(dirname "$0")
|
||||||
|
|
||||||
TESTS="
|
TESTS="
|
||||||
basic
|
basic
|
||||||
|
help-test
|
||||||
new
|
new
|
||||||
count
|
count
|
||||||
search
|
search
|
||||||
|
|
Loading…
Reference in a new issue