X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT470-missing-headers.sh;h=4bf5d285c49b43c567f94fb85c556b5d34317efc;hp=e256c10ac47a8f370cd42e95eb0bcafbd20b4845;hb=5f2832ae2171714dfef6d0d3302f473526480157;hpb=33c8777a967ece2dd4bbda7e83a4e07c195abf51 diff --git a/test/T470-missing-headers.sh b/test/T470-missing-headers.sh index e256c10a..4bf5d285 100755 --- a/test/T470-missing-headers.sh +++ b/test/T470-missing-headers.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash test_description='messages with missing headers' -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 # Notmuch requires at least one of from, subject, or to or it will # ignore the file. Generate two messages so that together they cover @@ -20,7 +20,7 @@ From: Notmuch Test Suite Body EOF -NOTMUCH_NEW +NOTMUCH_NEW >/dev/null test_begin_subtest "Search: text" output=$(notmuch search '*' | notmuch_search_sanitize) @@ -109,7 +109,7 @@ expected=$(notmuch_json_show_sanitize <",