mailing list of musl libc
 help / color / mirror / code / Atom feed
* Missing tests
@ 2014-05-14 13:05 Rich Felker
  2014-05-14 14:30 ` Szabolcs Nagy
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Felker @ 2014-05-14 13:05 UTC (permalink / raw)
  To: musl

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-20 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-14 13:05 Missing tests Rich Felker
2014-05-14 14:30 ` Szabolcs Nagy
2014-05-20 19:49   ` Rich Felker

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