From: Felipe Contreras Date: Sat, 15 May 2021 20:47:42 +0000 (-0500) Subject: test: emacs: check for configured emacs X-Git-Tag: archive/debian/0.33_rc0-1~89 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=29ba52327511e692c48850463f8675a01cdaf9b7;hp=cd9ec20a49b731276ed5f0838b4f0782c281e239;p=notmuch 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 --- 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