notmuch/test/T430-emacs-address-cleaning.sh
Tomi Ollila 572af27950 test: source $NOTMUCH_SRCDIR/test/test-lib-emacs.sh
Sourcing test-lib.sh will cd to TMP_DIRECTORY, so
relative path in $0 will not work in previous version
 . $(dirname "$0")/test-lib-emacs.sh

Now individual test scripts -- e.g. ./test/T310-emacs.sh
will work.
2021-06-03 09:29:27 -03:00

18 lines
521 B
Bash
Executable file

#!/usr/bin/env bash
test_description="emacs address cleaning"
. $(dirname "$0")/test-lib.sh || exit 1
. $NOTMUCH_SRCDIR/test/test-lib-emacs.sh || exit 1
test_require_emacs
test_begin_subtest "notmuch-test-address-clean part 1"
test_emacs_expect_t '(notmuch-test-address-cleaning-1)'
test_begin_subtest "notmuch-test-address-clean part 2"
test_emacs_expect_t '(notmuch-test-address-cleaning-2)'
test_begin_subtest "notmuch-test-address-clean part 3"
test_emacs_expect_t '(notmuch-test-address-cleaning-3)'
test_done