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=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20267 invoked from network); 12 Sep 2022 21:47:57 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 12 Sep 2022 21:47:57 -0000 Received: (qmail 21716 invoked by uid 550); 12 Sep 2022 21:47:54 -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 21680 invoked from network); 12 Sep 2022 21:47:53 -0000 Date: Mon, 12 Sep 2022 17:47:40 -0400 From: Rich Felker To: Ken Mays Cc: musl@lists.openwall.com Message-ID: <20220912214739.GK9709@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] POSIX compliance testing of strftime 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 · haiku/open_posix_testsuite > (github.com) > > and > > open_posix_testsuite/2-1.c at master · haiku/open_posix_testsuite > (github.com) > > 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