mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-04-22 07:10:46 +02:00
test: Unset ALTERNATE_EDITOR before running emacsclient
ALTERNATE_EDITOR causes emacsclient to run an alternate editor if the emacs server is not ready. This can collide with intended functionality in test-lib.sh. If the ALTERNATE_EDITOR is set but empty, emacsclient runs emacs daemon and tries to connect to it. When this happens the emacs run by test-lib.sh fails to start the server and the subsequent attempts to use the server fail because the daemon started by emacsclient does not know about notmuch-test-progn. This leads to test suite failure due to time out on any emacs test.
This commit is contained in:
parent
c2dfaccc90
commit
a9fec12a08
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ unset CDPATH
|
|||
|
||||
unset GREP_OPTIONS
|
||||
|
||||
# For emacsclient
|
||||
unset ALTERNATE_EDITOR
|
||||
|
||||
# Convenience
|
||||
#
|
||||
# A regexp to match 5 and 40 hexdigits
|
||||
|
|
Loading…
Add table
Reference in a new issue