]> git.notmuchmail.org Git - notmuch/blobdiff - test/T320-emacs-large-search-buffer.sh
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / test / T320-emacs-large-search-buffer.sh
index e9d5e3584f87042472a205eefb00db8c115b7ced..617985e6185edb110ddcbcccd7e21ffa56e65187 100755 (executable)
@@ -1,11 +1,14 @@
 #!/usr/bin/env bash
 test_description="Emacs with large search results buffer"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
+. $NOTMUCH_SRCDIR/test/test-lib-emacs.sh || exit 1
 
 x=xxxxxxxxxx # 10
 x=$x$x$x$x$x$x$x$x$x$x # 100
 x=$x$x$x$x$x$x$x$x$x # 900
 
+test_require_emacs
+
 # We generate a long subject here (over 900 bytes) so that the emacs
 # search results get large quickly. With 30 such messages we should
 # cross several 4kB page boundaries and see the bug.