]> git.cworth.org Git - notmuch/blobdiff - test/T520-show.sh
Merge tag 'debian/0.18.1-2' into wheezy-backports
[notmuch] / test / T520-show.sh
diff --git a/test/T520-show.sh b/test/T520-show.sh
new file mode 100755 (executable)
index 0000000..0657c99
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+test_description='"notmuch show"'
+
+. ./test-lib.sh
+
+add_email_corpus
+
+test_begin_subtest "exit code for show invalid query"
+notmuch show foo..
+exit_code=$?
+test_expect_equal 1 $exit_code
+
+test_done