diff options
author | David Bremner <david@tethera.net> | 2014-01-23 08:24:01 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-01-24 20:24:11 -0400 |
commit | ecbb29e8cea404faab2ef55b06431942ee329941 (patch) | |
tree | bc7ccf665dc7a9d34af486a9bc4c8b9374431f58 /test | |
parent | 29f125212619ebca8621dd2106b412b22e1b6d22 (diff) |
notmuch-show: detect NULL pointer returned from notmuch_query_search_threads
We want to return an error status, not 0 or (worse) segfault.
Diffstat (limited to 'test')
-rwxr-xr-x | test/T520-show.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T520-show.sh b/test/T520-show.sh index bdd9d716..0657c993 100755 --- a/test/T520-show.sh +++ b/test/T520-show.sh @@ -6,7 +6,6 @@ test_description='"notmuch show"' 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 |