Re: [PATCH] test/thread-order: more robust loop exit in case of broken input

Subject: Re: [PATCH] test/thread-order: more robust loop exit in case of broken input

Date: Wed, 01 Apr 2015 09:09:22 +0200

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> When creating $THREADS data it may end of not having 'None' at all
> or the numbers in line output yields a loop.
>
> To avoid loop the value in current array index is set to 'None'
> so that if the same item is reached again the loop will end.
>
> Also empty string as next array index will end the loop.

lgtm

d

Thread: