2011-11-25 18:28:11 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
test_description="online help"
|
2012-11-21 16:16:14 +01:00
|
|
|
. ./test-lib.sh
|
2011-11-25 18:28:11 +01:00
|
|
|
|
|
|
|
test_expect_success 'notmuch --help' 'notmuch --help'
|
|
|
|
test_expect_success 'notmuch help' 'notmuch help'
|
|
|
|
test_expect_success 'notmuch --version' 'notmuch --version'
|
|
|
|
|
2014-05-30 09:43:05 +02:00
|
|
|
if [ $NOTMUCH_HAVE_MAN -eq 1 ]; then
|
2014-03-26 09:48:12 +01:00
|
|
|
test_expect_success 'notmuch --help tag' 'notmuch --help tag'
|
|
|
|
test_expect_success 'notmuch help tag' 'notmuch help tag'
|
|
|
|
else
|
|
|
|
test_expect_success 'notmuch --help tag (man pages not available)' \
|
|
|
|
'test_must_fail notmuch --help tag'
|
|
|
|
test_expect_success 'notmuch help tag (man pages not available)' \
|
|
|
|
'test_must_fail notmuch help tag'
|
|
|
|
fi
|
|
|
|
|
2011-11-25 18:28:11 +01:00
|
|
|
test_done
|