unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 8711bec2f1d7c2c31da5f221b9aa5380aa99b175 300 bytes (raw)
name: test/T690-command-line-args.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#!/usr/bin/env bash

test_description="command line arguments"
. ./test-lib.sh || exit 1

NOTMUCH_NEW > /dev/null

test_begin_subtest 'bad option to show'
notmuch show --frobnicate >& OUTPUT
cat <<EOF > EXPECTED
Unrecognized option: --frobnicate
EOF
test_expect_equal_file EXPECTED OUTPUT

test_done

debug log:

solving 8711bec2 ...
found 8711bec2 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).