]> git.notmuchmail.org Git - notmuch/commitdiff
test: remove ".sh" extension from the recently added Emacs tests
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Sat, 28 Jan 2012 04:47:39 +0000 (08:47 +0400)
committerDavid Bremner <bremner@debian.org>
Sat, 4 Feb 2012 01:12:12 +0000 (21:12 -0400)
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 [new file with mode: 0755]
test/emacs-address-cleaning.sh [deleted file]
test/emacs-test-functions [new file with mode: 0755]
test/emacs-test-functions.sh [deleted file]
test/notmuch-test

diff --git a/test/emacs-address-cleaning b/test/emacs-address-cleaning
new file mode 100755 (executable)
index 0000000..51018fe
--- /dev/null
@@ -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
diff --git a/test/emacs-address-cleaning.sh b/test/emacs-address-cleaning.sh
deleted file mode 100755 (executable)
index 51018fe..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/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
diff --git a/test/emacs-test-functions b/test/emacs-test-functions
new file mode 100755 (executable)
index 0000000..0e1f9fc
--- /dev/null
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+test_description="emacs test function sanity"
+. test-lib.sh
+
+test_begin_subtest "emacs test function sanity"
+test_emacs_expect_t 't'
+
+test_done
diff --git a/test/emacs-test-functions.sh b/test/emacs-test-functions.sh
deleted file mode 100755 (executable)
index 0e1f9fc..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env bash
-
-test_description="emacs test function sanity"
-. test-lib.sh
-
-test_begin_subtest "emacs test function sanity"
-test_emacs_expect_t 't'
-
-test_done
index 3f1740cf73d2b68021f2c0d12bf0c86ea9391819..ced6b478abe458924b5fc981c731528d8de92316 100755 (executable)
@@ -52,8 +52,8 @@ TESTS="
   python
   hooks
   argument-parsing
   python
   hooks
   argument-parsing
-  emacs-test-functions.sh
-  emacs-address-cleaning.sh
+  emacs-test-functions
+  emacs-address-cleaning
 "
 TESTS=${NOTMUCH_TESTS:=$TESTS}
 
 "
 TESTS=${NOTMUCH_TESTS:=$TESTS}