Re: [PATCH 2/2] test: use emacsclient(1) for Emacs tests

Subject: Re: [PATCH 2/2] test: use emacsclient(1) for Emacs tests

Date: Mon, 27 Jun 2011 16:32:14 -0400

To: Dmitry Kurochkin

Cc: notmuch@notmuchmail.org

From: Austin Clements


On Mon, Jun 27, 2011 at 4:22 PM, Dmitry Kurochkin
<dmitry.kurochkin@gmail.com> wrote:
> On Mon, 27 Jun 2011 16:02:12 -0400, Austin Clements <amdragon@mit.edu> wrote:
>>  The trap is there just to cleanly shut down in case of a normal
>> exit [1].
>
> For normal exit we should just put this into test_done.  Otherwise it is
> not a normal exit and we do not care about Emacs error message.  No?

Yes, that's good, too, and it avoids the standard pitfalls of trap.

Thread: