mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 11:28:13 +01:00
a863de1e43
Don't assume the tests are always run from within the source tree.
13 lines
242 B
Bash
Executable file
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
|