unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob ae84c22d6183110cbd150ffd09ffdf8321b74ada 893 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
30
31
32
 
#!/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
    if [[ -n $NOTMUCH_TEST_INSTALLED ]]; then
	test_done
    fi
    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 ae84c22d ...
found ae84c22d in https://yhetil.org/notmuch/20230409142627.2216080-5-david@tethera.net/
found da45d3ae in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100755 da45d3aecf7ae7a0c6e86be06f6d21155c50129b	test/T010-help-test.sh

applying [1/1] https://yhetil.org/notmuch/20230409142627.2216080-5-david@tethera.net/
diff --git a/test/T010-help-test.sh b/test/T010-help-test.sh
index da45d3ae..ae84c22d 100755

Checking patch test/T010-help-test.sh...
Applied patch test/T010-help-test.sh cleanly.

index at:
100755 ae84c22d6183110cbd150ffd09ffdf8321b74ada	test/T010-help-test.sh

(*) 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).