mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
de9baa29dc
The idea is to allow it (in a future commit) advance to the next argv element to get a value
15 lines
300 B
Bash
Executable file
15 lines
300 B
Bash
Executable file
#!/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
|