]> git.notmuchmail.org Git - notmuch/blob - test/T010-help-test.sh
debian: start changelog for 0.24.1-1
[notmuch] / test / T010-help-test.sh
1 #!/usr/bin/env bash
2
3 test_description="online help"
4 . ./test-lib.sh || exit 1
5
6 test_expect_success 'notmuch --help' 'notmuch --help'
7 test_expect_success 'notmuch help' 'notmuch help'
8 test_expect_success 'notmuch --version' 'notmuch --version'
9
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'
13 else
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'
18 fi
19
20 test_done