summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2012-03-07another questionable hang.Federico G. Schwindt
2012-03-03Add tests for sem_timedwait()Philip Guenthe
2012-03-03Verify that sem_wait() doesn't return zero without decrementing thePhilip Guenthe
semaphore when a signal is received. It should either resume waiting or return EINTR, preferrably the former.
2012-03-03While we guarantee that a zero-filled sem_t variable will triggerPhilip Guenthe
EINVAL errors, a sem_t on the stack may have garbage, so make the tests portable by moving the sem_t from function to file scope. problem found by miod@
2012-02-27test based on python's dubious test_3_join_in_forked_from_thread test.Federico G. Schwindt
2012-02-26update error message. inetd has not been used since rev 1.3.Federico G. Schwindt
spotted by miod@
2012-02-26similar change to the setsockopt1.c one: use the resolution of the monotonicFederico G. Schwindt
clock from clock_getres(). while here use a different port when binding.
2012-02-26Let this compile with gcc 2.Miod Vallat
2012-02-23Check that PTHREAD_MUTEX_NORMAL mutexes will self-deadlock and thatPhilip Guenthe
pthread_mutex_timedlock() will block and then timeout on self-deadlock
2012-02-22similar change to the setsockopt1.c one: use the resolution of the monotonicFederico G. Schwindt
clock from clock_getres(). while here use a different port when binding.
2012-02-21Add pthread_suspend_np regress test. okay guenther@Kurt Miller
2012-02-20Switch the time measuring to be in timespecs, and then check thePhilip Guenthe
difference against the resolution of the monotonic clock from clock_getres() discussed with fgsch@
2012-02-20- remove invalid potions of blocked_* regress testsKurt Miller
- reenable blocked_* regress tests. while this behaivor is not specifited by posix, deadlocking is not a reasonable behaivor and some ports depend on this to work.
2012-02-20Disable the dup2_race test, as it requires a buggy behavior that uthreadsPhilip Guenthe
happened to exhibit
2012-02-20Round-robin behavior isn't guaranteed by SCHED_OTHER and the kernelPhilip Guenthe
doesn't have SCHED_FIFO or SCHED_RR support, so use sleep(1) to 'ensure' the second thread gets the lock when expected
2012-02-20Enable the errno test; add a quick rwlocks testPhilip Guenthe
2012-02-20End the output with a newlinePhilip Guenthe
2012-02-20This test needs a large nprocs ulimit, so just have it raise its ownPhilip Guenthe
2012-02-20Need to block the signals in all thread for the kill(getpid(), SIGFOO)Philip Guenthe
tests to work. Disable the "sigwait for blocked but ignored signal" test as it depended on undefined behavior (POSIX quoted included for reference) and rthreads (currently) handles it the other way.
2012-02-20SIGSTOP, SIGKILL, and (for threaded programs) SIGTHR are unblockablePhilip Guenthe
2012-02-20pthread_sigmask() was fixed to return the errno value on failurePhilip Guenthe
2012-02-20ops. compare against the socket timeout, not the alarm one.Federico G. Schwindt
sometimes these tests are incorrectly marked as failing (ktrace shows the read is returning within the specified timeout) but there are other times where they're taking slightly longer than expected. for now both cases are marked as failure.
2012-02-19fix tests.Federico G. Schwindt
2012-02-19Add Id and public-domain declarationPhilip Guenthe
2012-02-19Add regress test for stack attributesPhilip Guenthe
Disable some tests that depended on uthread's particular undefined behavior
2012-01-04link new semaphore testsMartin Pieuchot
2012-01-04Basic semaphore testsMartin Pieuchot
ok guenther@
2011-12-12better output on error.Federico G. Schwindt
2011-11-25The execve()-vs-threads test should test not just that the thread libraryPhilip Guenthe
doesn't blow up but also that (1) a failed execve doesn't kill other threads, and (2) a successful execve does make other threads vanish
2011-11-18Regress test for per-(r)thread errno addressPhilip Guenthe
2011-11-06return non-zero on errorOtto Moerbeek
2011-11-05and clean extra targetOtto Moerbeek
2011-11-05add exhaust test from netbsdOtto Moerbeek
2011-10-16uncomment wscanf testsStefan Sperling
2011-10-10allow for this to timeout rather than hanging forever.Federico G. Schwindt
2011-10-09Test for the wait*() hang issue when SIGCHLD is ignored, as seen inFederico G. Schwindt
the python's subprocess' test.
2011-10-01fix some checks.Federico G. Schwindt
2011-10-01enter signals.Federico G. Schwindt
2011-10-01Add tests to check signal handling during pthread_join(3) andFederico G. Schwindt
pthread_mutex_lock(3). Currently failing.
2011-09-23Add a test for recursive pthread_mutex_trylock()Uwe Stuehler
ok guenther@
2011-09-18add connect and move include to top Makefile.incFederico G. Schwindt
2011-09-18test for interrupted connect.Federico G. Schwindt
2011-09-17Expand fnmatch() regress with patterns obtained from the tests for APR'sStefan Sperling
new fnmatch implementation. With kind permission from Bill Rowe. Tweak the test code to allow comment lines in the test data file. ok millert@
2011-09-13first round of tests to check system calls restarting with pthreads.Federico G. Schwindt
guenther@ ok
2011-07-09Adapt tests for extended-precision.Martynas Venckus
2011-07-08Add 80-bit and 128-bit precision test vectors for the math functions.Martynas Venckus
No problems found by Cephes in 17022 tests.
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersTheo de Raadt
switched a while back. ok miod, kettenis
2011-07-03Include tests of 80-bit long double precision (on platforms thatMartynas Venckus
support it) now that scanf is implemented properly.
2011-07-02Add cephes.Martynas Venckus
2011-07-02Import Steve Moshier's printf/scanf tester.Martynas Venckus