diff --git a/test/T520-show.sh b/test/T520-show.sh new file mode 100755 index 00000000..bdd9d716 --- /dev/null +++ b/test/T520-show.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +test_description='"notmuch show"' + +. ./test-lib.sh + +add_email_corpus + +test_begin_subtest "exit code for show invalid query" +test_subtest_known_broken +notmuch show foo.. +exit_code=$? +test_expect_equal 1 $exit_code + +test_done