aboutsummaryrefslogtreecommitdiff
path: root/test/test-lib.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-05-01 06:54:16 -0500
committerDavid Bremner <david@tethera.net>2021-05-01 21:15:27 -0300
commitfe9616aef19a1584de550ea536dfc7b42a13636a (patch)
treea73de836013bb5a783f14aca13d7a04b014de692 /test/test-lib.sh
parent049a652da7a692704348085a817b0086a44d5435 (diff)
test: add external prereqs to many emacs tests
The tests fail otherwise. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'test/test-lib.sh')
-rw-r--r--test/test-lib.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh
index 72ac2e89..88e2a82f 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -114,6 +114,12 @@ unset ALTERNATE_EDITOR
unset EMAIL
unset NAME
+test_require_emacs () {
+ test_require_external_prereq emacs
+ test_require_external_prereq ${TEST_EMACSCLIENT}
+ test_require_external_prereq dtach
+}
+
add_gnupg_home ()
{
[ -e "${GNUPGHOME}/gpg.conf" ] && return