public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>,
	Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org>
Subject: Re: [PATCH] tst: Provide test for select
Date: Thu, 25 Mar 2021 10:31:34 -0300	[thread overview]
Message-ID: <77b12825-7322-e1da-0a56-f7a70191a91e@linaro.org> (raw)
In-Reply-To: <CAMe9rOou-2JopiCrgaGsKbV8yKBRRsGN0AmG41VXMK8krR46+A@mail.gmail.com>



On 25/03/2021 10:22, H.J. Lu wrote:
> On Thu, Mar 25, 2021 at 5:48 AM Adhemerval Zanella
> <adhemerval.zanella@linaro.org> wrote:
>>
>>
>>
>> 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.
>>
> 
> Can we do something similar to misc/tst-pselect.c?
> 

Yeah, I think it would be better.  I will prepare a patch.

  reply	other threads:[~2021-03-25 13:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 16:46 Lukasz Majewski
2021-03-14 19:17 ` DJ Delorie
2021-03-15  9:50   ` Lukasz Majewski
2021-03-15 17:11     ` DJ Delorie
2021-03-22 11:32 ` Lukasz Majewski
2021-03-24 19:17   ` H.J. Lu
2021-03-24 19:47     ` Adhemerval Zanella
2021-03-24 20:13       ` H.J. Lu
2021-03-24 21:14         ` Adhemerval Zanella
2021-03-24 21:21           ` H.J. Lu
2021-03-24 21:24             ` Adhemerval Zanella
2021-03-24 21:35             ` Samuel Thibault
2021-03-24 21:43               ` Adhemerval Zanella
2021-03-24 22:30                 ` H.J. Lu
2021-03-25 11:35                   ` Adhemerval Zanella
2021-03-25 12:20                     ` Andreas Schwab
2021-03-25 12:48                       ` Adhemerval Zanella
2021-03-25 13:22                         ` H.J. Lu
2021-03-25 13:31                           ` Adhemerval Zanella [this message]
2021-03-22 19:23 ` Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77b12825-7322-e1da-0a56-f7a70191a91e@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=hjl.tools@gmail.com \
    --cc=libc-alpha@sourceware.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).