Re: tail --retry not re-attempting to open file (original) (raw)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Bernhard Voelker
Subject: Re: tail --retry not re-attempting to open file
Date: Sat, 20 Apr 2013 16:47:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

On 04/18/2013 11:52 PM, Bernhard Voelker wrote:

On 04/18/2013 06:10 PM, Pádraig Brady wrote: > You may want to consider using the existing retrydelay() > rather than wait4lines() in the tests, but otherwise it > looks good to push.

Thanks for the review. I'll have a look at retrydelay() again tomorrow, and see if it makes waiting for tail's output easier.

Hi Padraig,

as there are different line counts expected in the 'out' file, I needed to change retry_delay_(). it can now be called with more than three arguments (test_func, init_delay, max_n_tries) in which case it passes such values on to test_func.

Unless there are objection, I'd push the attached tomorrow.

Have a nice day, Berny

Attachment: tail-f-retry.3.patch
Description: Text Data