Subject: Re: Bug in C02cont.ztst's -N test
From: Bart Schaefer <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Fri, 29 Apr 2016 20:51:28 -0700
List-Id: Zsh Workers List <zsh-workers.zsh.org>

We're gong to have to add "useless use of anonymous function" to go
with "useless use of cat".

On Fri, Apr 29, 2016 at 6:28 PM, Daniel Shahaf <[email-masked]> wrote:
> Matthew Martin wrote on Fri, Apr 29, 2016 at 20:01:31 -0500:
>> +  elif sleep 58; [[ $unmodified_ls == "$(ls -lu $unmodified)" ]]; then
>>
>> but who wants to sleep for 60 seconds? (There's a sleep 2 earlier.)

Is there some magic reason it has to total 60 seconds?

>     elif ! () {
>              repeat 58 {
>                sleep 1
>                if [[ $unmodified_ls != "$(ls -lu $unmodified)" ]]; then return 0; fi
>              }
>              return 1
>            }; then

elif ! repeat 60; do sleep 1; ZTST_hashmark; [[ $unmodified_ls !=
"$(ls -lu $unmodified)" ]] && break; done; then