]> git.notmuchmail.org Git - notmuch/commit
test: Don't return the result of checking for running emacs to the tester.
authorDavid Edmondson <dme@dme.org>
Tue, 24 Jan 2012 16:14:04 +0000 (16:14 +0000)
committerDavid Bremner <bremner@debian.org>
Wed, 25 Jan 2012 11:25:25 +0000 (07:25 -0400)
commit2903b32f79dcf7789a2b015c48194cb40ac71462
treef987c575d6a7e6bff07b46480c671c008bbe7354
parent7430a42e23ee775818f84ed75f417302da694152
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).
test/test-lib.sh