From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5122 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Missing tests Date: Wed, 14 May 2014 09:05:30 -0400 Message-ID: <20140514130530.GA6999@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1400072751 15888 80.91.229.3 (14 May 2014 13:05:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2014 13:05:51 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5127-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 14 15:05:46 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WkYsS-0000Jc-GJ for gllmg-musl@plane.gmane.org; Wed, 14 May 2014 15:05:44 +0200 Original-Received: (qmail 5637 invoked by uid 550); 14 May 2014 13:05:42 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 5629 invoked from network); 14 May 2014 13:05:42 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:5122 Archived-At: Here are some things that don't seem to be tested that would be nice to get added to the test suite (http://nsz.repo.hu/git/?p=libc-test) - Interpretation of POSIX TZ strings - Daylight time transition tests with zoneinfo and POSIX zones - Lots of corner cases for strftime and strptime - Regression test for recent pthread_once race (hard to catch) - Sanity-checking ucontext_t layout via signal handlers - Alternate signal stacks - Basic sanity checks for most syscalls - Checks for various subtle stdio behavior: - File position on exit - Interactions of ungetc and file position - Append mode file positions It might make sense to make a new tree separate from functional for tests that don't really check the functionality of the interface but just whether it's present and "doing something". Some existing tests might be candidates for moving there too..? Rich P.S. I started writing this email quite a while back when I had connectivity problems and never got around to finishing/sending it, so some of it is motivated by discussions that were going on at the time. :-)