X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=test%2FT690-command-line-args.sh;fp=test%2FT690-command-line-args.sh;h=8711bec2f1d7c2c31da5f221b9aa5380aa99b175;hb=de9baa29dc990e4166b47dc2b0d0cf560014834b;hp=0000000000000000000000000000000000000000;hpb=15815d4e4c95e87f0bcabcaeb2577237609a6946;p=notmuch diff --git a/test/T690-command-line-args.sh b/test/T690-command-line-args.sh new file mode 100755 index 00000000..8711bec2 --- /dev/null +++ b/test/T690-command-line-args.sh @@ -0,0 +1,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 < EXPECTED +Unrecognized option: --frobnicate +EOF +test_expect_equal_file EXPECTED OUTPUT + +test_done