mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 07:11:41 +01:00
test: Don't return the result of checking for running emacs to the tester.
When checking for a running emacs, test_emacs evaluates the empty list '()'. This returns 'nil' when emacs is running, which is then prepended to the actual test result. Given that it is not part of the actual test output the test harness can incorrectly report test failure (or success).
This commit is contained in:
parent
7430a42e23
commit
2903b32f79
1 changed files with 1 additions and 1 deletions
|
@ -926,7 +926,7 @@ test_emacs () {
|
|||
--eval '(orphan-watchdog $$)'" || return
|
||||
EMACS_SERVER="$server_name"
|
||||
# wait until the emacs server is up
|
||||
until test_emacs '()' 2>/dev/null; do
|
||||
until test_emacs '()' >/dev/null 2>/dev/null; do
|
||||
sleep 1
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue