X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT520-show.sh;h=16222650eafc68b1d1f816a8cdda96bc3b0ce23a;hp=bdd9d7161a5095b36edf801626dece17abf8686a;hb=cd8006886b1c80ff556a96f1e84e3d3914067a54;hpb=5c526d1737212dd736b1c3fedc6bf5b3493ce436 diff --git a/test/T520-show.sh b/test/T520-show.sh index bdd9d716..16222650 100755 --- a/test/T520-show.sh +++ b/test/T520-show.sh @@ -1,12 +1,11 @@ #!/usr/bin/env bash test_description='"notmuch show"' -. ./test-lib.sh +. $(dirname "$0")/test-lib.sh || exit 1 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