]> git.notmuchmail.org Git - notmuch/blobdiff - test/T090-search-output.sh
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / test / T090-search-output.sh
index dccefcb7f0128b214c6d2d5e74afddacc394f3af..0d85c6097f31c4f5e7bdcce048e036d2a025ec06 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='various settings for "notmuch search --output="'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 add_email_corpus
 
@@ -435,7 +435,7 @@ test_expect_equal_file EXPECTED OUTPUT
 
 test_begin_subtest "search for non-existent message prints nothing"
 notmuch search "no-message-matches-this" > OUTPUT
-echo -n >EXPECTED
+: >EXPECTED
 test_expect_equal_file EXPECTED OUTPUT
 
 test_begin_subtest "search --format=json for non-existent message prints proper empty json"