mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Missing tests
Date: Wed, 14 May 2014 09:05:30 -0400	[thread overview]
Message-ID: <20140514130530.GA6999@brightrain.aerifal.cx> (raw)

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.
:-)


             reply	other threads:[~2014-05-14 13:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-14 13:05 Rich Felker [this message]
2014-05-14 14:30 ` Szabolcs Nagy
2014-05-20 19:49   ` Rich Felker

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=20140514130530.GA6999@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).