]> git.notmuchmail.org Git - notmuch/blobdiff - test/T330-emacs-subject-to-filename.sh
test: redirect STDIN from /dev/null
[notmuch] / test / T330-emacs-subject-to-filename.sh
index 230c324d2ea4d60aa35bfbd4af30eb73a6c716d1..eaf7c980903bed112fc2df81f7af8c7307f1eda1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description="emacs: mail subject to filename"
-. ./test-lib.sh
+. $(dirname "$0")/test-lib.sh || exit 1
 
 # emacs server can't be started in a child process with $(test_emacs ...)
 test_emacs '(ignore)' > /dev/null