unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob da45d3aecf7ae7a0c6e86be06f6d21155c50129b 827 bytes (raw)
name: test/T010-help-test.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
#!/usr/bin/env bash

test_description="online help"
. $(dirname "$0")/test-lib.sh || exit 1

test_begin_subtest 'notmuch --help'
test_expect_success 'notmuch --help'

test_begin_subtest 'notmuch help'
test_expect_success 'notmuch help'

test_begin_subtest 'notmuch --version'
test_expect_success 'notmuch --version'

if [ $NOTMUCH_HAVE_MAN -eq 1 ]; then
    test_begin_subtest 'notmuch --help tag'
    test_expect_success 'notmuch --help tag'

    test_begin_subtest 'notmuch help tag'
    test_expect_success 'notmuch help tag'
else
    test_begin_subtest 'notmuch --help tag (man pages not available)'
    test_expect_success 'test_must_fail notmuch --help tag >/dev/null'

    test_begin_subtest 'notmuch help tag (man pages not available)'
    test_expect_success 'test_must_fail notmuch help tag >/dev/null'
fi

test_done

debug log:

solving da45d3ae ...
found da45d3ae in https://yhetil.org/notmuch.git/

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).