From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30072 invoked from network); 12 Sep 2022 23:08:48 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 12 Sep 2022 23:08:48 -0000 Received: (qmail 21903 invoked by uid 550); 12 Sep 2022 23:08:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 21854 invoked from network); 12 Sep 2022 23:08:44 -0000 Resent-From: Rich Felker Resent-Date: Mon, 12 Sep 2022 19:08:30 -0400 Resent-Message-ID: <20220912230830.GE8773@brightrain.aerifal.cx> Resent-To: musl@lists.openwall.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=bQ3/gKZ8Le1VigdKuQvuHA+GwT5SqW8MHW0qom4oKOc=; b=EL/xIVFz6tfatmWxy96MwP2EGWd80eJkVwWw+RLUoUXNzylIZKOs4vqSMmRoBOhbXa RRxiSaAq3kok8e4+J++H6R2nkV4Q0rPqdTYGY13jbLgUJrR027PBW44I0ibhCTTv8SVO SAjok7wOhXgMt3lVDGIOBuUVDetBtqRkK17QMak8mmEViVzOGxaMVkreW+OX3k+he1RO WdLmGJf7G5XJnSUx698EEDz+51LZ5J8hUnKanggVJeS7aoUXF0J4oveMNCW8GS40hm4P db4q74gzT9gJ91c91DBhlAelFU7p0RxMd0F84dqpULZA7fefyzcnhGtzw9ubaqwocz4Q Ejeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=bQ3/gKZ8Le1VigdKuQvuHA+GwT5SqW8MHW0qom4oKOc=; b=mXEA68f30XjmttImbGfRpdHe4re/3z+gyhd9L+MkpA46fryA/PO/pswVGR/3J5Fkvo 0oRmIw9AHC9xXa6ohYCujhajsaq6+i0BS9SBpQdltwD9vwyahpDzveMVFNrToNSD9KPI F4XWvcC92tojJx/5s6HXdAYzmNFjEl7TjhjUeBrHk1GRa5fBIEmoQXT2h3Nbm9ZeSRx9 wJZfpUCuwC82QdNE9dgGnaL9FgE8SG1U7aSZMt4+dhP/c50xME5deZ76vIpvjD4SrahZ 71rUoUJ0P9NUrOcBeno4PFYLFKl4AaDuM9BUahHZq+4A2hLWqADunre2bHeg5NuMWHw+ IkLA== X-Gm-Message-State: ACgBeo10W/rtKCbz+FEAdvjrtzyQ3+S2m4FZiVJrGtWQRjjEzjBeo3lW p7aO3joqU3Lkbvz/CgIzxPLV0NhTfjwwPp6fWbztu7bbY1o= X-Google-Smtp-Source: AA6agR4b5betyhyKjuRGNfC9dlDEvGBOXsCvvbqcwsnJSCEz2c3fNk2dfiACHnL08MhTqaUSLYcWEWB6zsT/7aQ3AIM= X-Received: by 2002:a05:6512:13a4:b0:479:3b9f:f13c with SMTP id p36-20020a05651213a400b004793b9ff13cmr9035807lfa.380.1663020708968; Mon, 12 Sep 2022 15:11:48 -0700 (PDT) MIME-Version: 1.0 References: <20220912214739.GK9709@brightrain.aerifal.cx> In-Reply-To: <20220912214739.GK9709@brightrain.aerifal.cx> From: Ken Mays Date: Mon, 12 Sep 2022 15:11:36 -0700 Message-ID: To: Rich Felker Cc: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="0000000000009cbdcd05e8822ef9" Subject: Re: [musl] POSIX compliance testing of strftime --0000000000009cbdcd05e8822ef9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I posted a bug report with some detail here: #17884 (TMR: strftime conversion specifier failed during test) =E2=80=93 Haiku (haiku-os.org) The default locale for me is: LC_* =3D en.UTF-8 The failure for test 1-1 is: X Bytes 0 - Test Failed: %X doesn't equal a least 8 bytes Thanks for letting me know it passes on your setup. Any known issues with BSD-compatible setups? ~K On Mon, Sep 12, 2022 at 2:47 PM Rich Felker wrote: > On Mon, Sep 12, 2022 at 01:32:28PM -0700, Ken Mays wrote: > > Hello, > > > > I am doing POSIX compliance testing of strftime on HAIKU (w/MUSL) > > using the Open POSIX Test Suite v1.5.2 located here: > > > > Open POSIX Test Suite - Browse Files at SourceForge.net > > > > > > Specifically: > > > > open_posix_testsuite/1-1.c at master =C2=B7 haiku/open_posix_testsuite > > (github.com) < > https://github.com/haiku/open_posix_testsuite/blob/master/conformance/int= erfaces/strftime/1-1.c > > > > > > and > > > > open_posix_testsuite/2-1.c at master =C2=B7 haiku/open_posix_testsuite > > (github.com) < > https://github.com/haiku/open_posix_testsuite/blob/master/conformance/int= erfaces/strftime/2-1.c > > > > > > Issue: MUSL's strftime only fails one minor test for both test 1-1 and > 2-1. > > > > I'd like to know if a MUSL developer could review the mentioned tests? > > > > Are there known issues with strftime with POSIX compliance testing? > > > > Thanks, > > > > ~K > > When reporting test failures, could you report *which test* (not just > which files, but which particular assertion they're trying to make) is > failing? It would have saved a lot of time not having to get, compile, > and run them. But now after doing that, I can't even reproduce any > failures; I just get all PASS. So in order to investigate at all I > really need to know what specific failures you hit. > > FWIW these are rather dubious tests since they depend on the current > time when the test is run and the user's locale. Perhaps the failures > you saw were dependent on those factors? > > Rich > --0000000000009cbdcd05e8822ef9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The default locale for me is: LC_* =3D en.UTF-8
=
The failure for test 1-1 is:=C2=A0X Bytes 0 - Tes= t Failed: %X doesn't equal a least 8 bytes
=
Thanks for letting me know it passes on yo= ur setup. Any known issues with BSD-compatible setups?

~K

On Mon, Sep 12, 2022 at 2:47 PM Rich Felker <dalias@libc.org> wrote:
On Mon, Sep 12, 2022 at 01:32:28PM -= 0700, Ken Mays wrote:
> Hello,
>
> I am doing POSIX compliance testing of strftime on HAIKU (w/MUSL)
> using the Open POSIX Test Suite v1.5.2 located here:
>
> Open POSIX Test Suite - Browse Files at SourceForge.net
> <https://sourceforge.net/projects/posixtes= t/files/>
>
> Specifically:
>
> open_posix_testsuite/1-1.c at master =C2=B7 haiku/open_posix_testsuite=
> (gi= thub.com) <https://github.com/haiku/open_posix_testsuite/blob/master/conf= ormance/interfaces/strftime/1-1.c>
>
> and
>
> open_posix_testsuite/2-1.c at master =C2=B7 haiku/open_posix_testsuite=
> (gi= thub.com) <https://github.com/haiku/open_posix_testsuite/blob/master/conf= ormance/interfaces/strftime/2-1.c>
>
> Issue: MUSL's strftime only fails one minor test for both test 1-1= and 2-1.
>
> I'd like to know if a MUSL developer could review the mentioned te= sts?
>
> Are there known issues with strftime with POSIX compliance testing? >
> Thanks,
>
> ~K

When reporting test failures, could you report *which test* (not just
which files, but which particular assertion they're trying to make) is<= br> failing? It would have saved a lot of time not having to get, compile,
and run them. But now after doing that, I can't even reproduce any
failures; I just get all PASS. So in order to investigate at all I
really need to know what specific failures you hit.

FWIW these are rather dubious tests since they depend on the current
time when the test is run and the user's locale. Perhaps the failures you saw were dependent on those factors?

Rich
--0000000000009cbdcd05e8822ef9--