From: David Bremner Date: Fri, 25 Nov 2011 17:28:11 +0000 (-0500) Subject: test: add simple tests for online help X-Git-Tag: 0.10.1^0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=398b94bb394e2be0633175b58b47451bc3ba98ca;p=notmuch.git test: add simple tests for online help Nothing fancy, but we can at least detect segmentation faults. --- 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