test: add simple tests for online help

Nothing fancy, but we can at least detect segmentation faults.
This commit is contained in:
David Bremner 2011-11-25 12:28:11 -05:00
parent c0d8ebe36e
commit 398b94bb39
2 changed files with 13 additions and 0 deletions

12
test/help-test Executable file
View 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

View file

@ -18,6 +18,7 @@ cd $(dirname "$0")
TESTS=" TESTS="
basic basic
help-test
new new
count count
search search