[PATCH] tst: Provide test for select
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Mar 25 12:48:28 GMT 2021
On 25/03/2021 09:20, Andreas Schwab wrote:
> On Mär 25 2021, Adhemerval Zanella via Libc-alpha wrote:
>
>> Do you have a strace of why select is returning? It uses 2 (STDERR_FILENO)
>> as on the read set, so it should trigger the timeout.
>
> A file is always available, so there is no timeout.
>
> $ ./testrun.sh misc/tst-select 2>nohup.out
> tst-select.c:54: 1616674766.364168922s not after 1616674767.364165762s (difference 0.999996840s)
> error: 1 test failures
I did not catch it on my review, we will need a temporary file for this.
I will check this out.
More information about the Libc-alpha
mailing list