X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT080-search.sh;h=a3f0dead1420239fd654c89ea04531d1ee141729;hp=3bb3dced89159c2d4a5279359498032427bc3ad0;hb=0a2929c341b6d5f20210725facf37a6e2c3a19b4;hpb=aa2abd2958f941caba6ffc8052dd00550f7e7e39 diff --git a/test/T080-search.sh b/test/T080-search.sh index 3bb3dced..a3f0dead 100755 --- a/test/T080-search.sh +++ b/test/T080-search.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash test_description='"notmuch search" in several variations' -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 add_email_corpus @@ -85,11 +85,11 @@ add_message '[subject]="search by to (name)"' '[date]="Sat, 01 Jan 2000 12:00:00 output=$(notmuch search 'to:"Search By To Name"' | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; search by to (name) (inbox unread)" -test_begin_subtest "Search by to: (name and adress)" +test_begin_subtest "Search by to: (name and address)" output=$(notmuch search 'to:"Search By To Name "' | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; search by to (name) (inbox unread)" -test_begin_subtest "Search by to: without prefix (name and adress)" +test_begin_subtest "Search by to: without prefix (name and address)" output=$(notmuch search '"Search By To Name "' | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; search by to (name) (inbox unread)"