3 test_description="online help"
4 . ./test-lib.sh || exit 1
6 test_expect_success 'notmuch --help' 'notmuch --help'
7 test_expect_success 'notmuch help' 'notmuch help'
8 test_expect_success 'notmuch --version' 'notmuch --version'
10 if [ $NOTMUCH_HAVE_MAN -eq 1 ]; then
11 test_expect_success 'notmuch --help tag' 'notmuch --help tag'
12 test_expect_success 'notmuch help tag' 'notmuch help tag'
14 test_expect_success 'notmuch --help tag (man pages not available)' \
15 'test_must_fail notmuch --help tag >/dev/null'
16 test_expect_success 'notmuch help tag (man pages not available)' \
17 'test_must_fail notmuch help tag >/dev/null'