From 6dec2af55bb393e338586a2a399a659e54240a1f Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Sat, 28 Jan 2012 08:47:39 +0400 Subject: test: remove ".sh" extension from the recently added Emacs tests All test files, except for the recently added Emacs tests, do not have ".sh" extension. So remove it from the new test files for consistency. --- test/emacs-address-cleaning | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 test/emacs-address-cleaning (limited to 'test/emacs-address-cleaning') diff --git a/test/emacs-address-cleaning b/test/emacs-address-cleaning new file mode 100755 index 0000000..51018fe --- /dev/null +++ b/test/emacs-address-cleaning @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +test_description="emacs address cleaning" +. test-lib.sh + +test_begin_subtest "notmuch-test-address-clean part 1" +test_emacs_expect_t \ + '(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-1)' + +test_begin_subtest "notmuch-test-address-clean part 2" +test_emacs_expect_t \ + '(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-2)' + +test_begin_subtest "notmuch-test-address-clean part 3" +test_emacs_expect_t \ + '(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-3)' + +test_done -- cgit v1.2.3 From 8d26b8eaac6dc7eebc2658587b2656555244f4b3 Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Sun, 29 Jan 2012 07:36:03 +0400 Subject: test: remove explicit loading of elisp tests in emacs-address-cleaning It is no longer needed, since elisp tests files are auto loaded now. --- test/emacs-address-cleaning | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'test/emacs-address-cleaning') diff --git a/test/emacs-address-cleaning b/test/emacs-address-cleaning index 51018fe..6ddde5c 100755 --- a/test/emacs-address-cleaning +++ b/test/emacs-address-cleaning @@ -4,15 +4,12 @@ test_description="emacs address cleaning" . test-lib.sh test_begin_subtest "notmuch-test-address-clean part 1" -test_emacs_expect_t \ - '(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-1)' +test_emacs_expect_t '(notmuch-test-address-cleaning-1)' test_begin_subtest "notmuch-test-address-clean part 2" -test_emacs_expect_t \ - '(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-2)' +test_emacs_expect_t '(notmuch-test-address-cleaning-2)' test_begin_subtest "notmuch-test-address-clean part 3" -test_emacs_expect_t \ - '(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-3)' +test_emacs_expect_t '(notmuch-test-address-cleaning-3)' test_done -- cgit v1.2.3