Re: [PATCH 1/3] test: Don't return the result of checking for running emacs to the tester.

Subject: Re: [PATCH 1/3] test: Don't return the result of checking for running emacs to the tester.

Date: Tue, 17 Jan 2012 14:37:52 +0000

To: Dmitry Kurochkin, notmuch@notmuchmail.org

Cc:

From: David Edmondson


(And for the list...)

On Tue, 17 Jan 2012 18:20:04 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:
> Can you please elaborate why this is needed?

This code:

		    # wait until the emacs server is up
		    until test_emacs '()' 2>/dev/null; do
			    sleep 1
		    done

outputs 'nil', so the first caller to test_emacs has 'nil\n' prepended
to their expected output.
part-000.sig (application/pgp-signature)

Thread: