3 test_description="online help"
4 . $(dirname "$0")/test-lib.sh || exit 1
6 test_begin_subtest 'notmuch --help'
7 test_expect_success 'notmuch --help'
9 test_begin_subtest 'notmuch help'
10 test_expect_success 'notmuch help'
12 test_begin_subtest 'notmuch --version'
13 test_expect_success 'notmuch --version'
15 if [ $NOTMUCH_HAVE_MAN -eq 1 ]; then
16 test_begin_subtest 'notmuch --help tag'
17 test_expect_success 'notmuch --help tag'
19 test_begin_subtest 'notmuch help tag'
20 test_expect_success 'notmuch help tag'
22 test_begin_subtest 'notmuch --help tag (man pages not available)'
23 test_expect_success 'test_must_fail notmuch --help tag >/dev/null'
25 test_begin_subtest 'notmuch help tag (man pages not available)'
26 test_expect_success 'test_must_fail notmuch help tag >/dev/null'