diff options
author | David Bremner <bremner@debian.org> | 2011-11-25 12:28:11 -0500 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-11-25 12:35:40 -0500 |
commit | 398b94bb394e2be0633175b58b47451bc3ba98ca (patch) | |
tree | 35094663e040214357ad4b3da1df73d2a3c5c1ad | |
parent | c0d8ebe36ea7ab087a8d71ad17116230a51a1cbf (diff) |
test: add simple tests for online help
Nothing fancy, but we can at least detect segmentation faults.
-rwxr-xr-x | test/help-test | 12 | ||||
-rwxr-xr-x | test/notmuch-test | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/help-test b/test/help-test new file mode 100755 index 00000000..9f4b9c79 --- /dev/null +++ b/test/help-test @@ -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 diff --git a/test/notmuch-test b/test/notmuch-test index adfd589f..5aced5ce 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -18,6 +18,7 @@ cd $(dirname "$0") TESTS=" basic + help-test new count search |