aboutsummaryrefslogtreecommitdiff
path: root/test/test-lib.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-05-15 15:47:42 -0500
committerDavid Bremner <david@tethera.net>2021-05-17 07:28:33 -0300
commit29ba52327511e692c48850463f8675a01cdaf9b7 (patch)
treee070d34eb5d136904cdee753e7dd85f1eabdabeb /test/test-lib.sh
parentcd9ec20a49b731276ed5f0838b4f0782c281e239 (diff)
test: emacs: check for configured emacs
Commit d59d9c81 (test: Make the emacsclient binary user-configurable, 2012-11-27) modified the prereq check for the configured emacsclient, but we probably want to do the same for emacs itself. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'test/test-lib.sh')
-rw-r--r--test/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh
index e1a597f7..5c56bc22 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -116,7 +116,7 @@ unset NAME
test_require_emacs () {
local ret=0
- test_require_external_prereq emacs || ret=1
+ test_require_external_prereq ${TEST_EMACS} || ret=1
test_require_external_prereq ${TEST_EMACSCLIENT} || ret=1
test_require_external_prereq dtach || ret=1
return $ret