notmuch/test/T520-show.sh
Jani Nikula a863de1e43 test: use $(dirname "$0") for sourcing test-lib.sh
Don't assume the tests are always run from within the source tree.
2017-10-20 19:52:49 -03:00

13 lines
242 B
Bash
Executable file

#!/usr/bin/env bash
test_description='"notmuch show"'
. $(dirname "$0")/test-lib.sh || exit 1
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