Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-21 | set BIOCIMMEDIATE, makes the test work for lo0, which does more buffering | Otto Moerbeek | |
than regular interfaces | |||
2016-09-20 | switch master & slave; prompted by bluhm@ | Otto Moerbeek | |
2016-09-20 | don't depend on /dev/tty, in bluhm's framework there is no such thing | Otto Moerbeek | |
use openpty(3) instead | |||
2016-09-01 | Tighten up the siginfo check | Philip Guenther | |
2016-09-01 | delete wrong cvs $ tags | Theo de Raadt | |
2016-08-09 | When interrupted, connect() should leave the socket connecting in the | Philip Guenther | |
background, similar to a non-blocking socket. Return EALREADY whenever already connecting, not just for non-blocking sockets. Fix from {Free,Net}BSD Prompted by a report from Michael Reed (m.reed (at) mykolab.com) ok millert@ | |||
2016-05-10 | In a signal handler use snprintf()+local buffer instead of asprintf+free | Philip Guenther | |
2016-05-10 | Test that various calls can be interrupted in a non-threaded process, | Philip Guenther | |
then dlopen() libpthread and do that again in a second thread, and then verify that they're all correctly acting as cancellation points. | |||
2016-03-20 | Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0]) | Kenneth R Westerback | |
idioms. Adopt the more concise fcntl(n, F_GETFL) over fcntl(n, F_GETFL, 0) where it is obvious further investigation will not yield and even better way. Obviousness evaluation and ok guenther@ | |||
2016-03-17 | Last parameter to execl[e]() functions *must* be cast to a pointer. | Kenneth R Westerback | |
Just NULL is not good practise as NULL is theoretically allowed to be an integer rather than a pointer. Use (char *)NULL consistently instead of scattering a few (char *)0 and (void *)NULL into the mix. Prompted by and probably ok deraadt@ millert@ kettenis@ Definitely ok mestre@ ratchov@ | |||
2016-01-27 | Properly initialize sin_family. | Jeremie Courreges-Anglas | |
2015-11-19 | hint: compile before commit | Theo de Raadt | |
2015-11-04 | replace setbuf with setvbuf, from Frederic Nowak | Ted Unangst | |
2015-09-14 | init a variable to avoid spurious failure | Philip Guenther | |
2015-09-14 | Check pselect, poll, and ppoll too | Philip Guenther | |
2015-09-14 | Add regress for cancellation of wait/waitpid/wait3/wait4 | Philip Guenther | |
2014-11-16 | Delete a test which required behavior not defined by the spec | Philip Guenther | |
(behavior of sigwait() when signal not blocked in all threads) | |||
2014-08-10 | Only need <stdint.h> and not all of <inttypes.h> here | Philip Guenther | |
2014-07-16 | zap trailing newlines; "go for it" deraadt | Okan Demirmen | |
2014-07-03 | Enter the REGRESS_FULL target subdirs for clean, cleandir and obj targets. | Miod Vallat | |
2014-05-20 | Use errc/warnc to simplify code. | Philip Guenther | |
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@ | |||
2014-01-22 | There can be resolution-worth of slop in two places, so accept that | Philip Guenther | |
2013-12-26 | spacing | Mark Kettenis | |
2013-12-22 | Use a bigger timeout, otherwise this test fails on some (not really) slower | Mark Kettenis | |
hardware. | |||
2013-12-21 | Use timespec and CLOCK_MONOTONIC for a timing test | Philip Guenther | |
2013-10-29 | use lld format string and a cast for time_t | Jonathan Gray | |
ok guenther@ | |||
2013-10-06 | Add a test to verify that disabling cancelation defers it until reenabled. | Philip Guenther | |
Add missing pthread_cleanup_pop() calls (they're required to be matched). | |||
2013-08-01 | Some tests are currently failing. Only run those if the REGRESS_FULL | Mark Kettenis | |
variable is set. | |||
2013-06-21 | Add earlysig test to check whether the pthread fork() wrapper | Philip Guenther | |
has a critical section where getting a signal causes a hang. Based on otto@ earlysig kernel regress; suggested by miod@ | |||
2013-03-25 | Disable the blocked_{close,dup2,fifo} tests, as we know they fail | Philip Guenther | |
2012-11-06 | temporarily fix the static tests in testall by using NOPIE_LDFLAGS. | Federico G. Schwindt | |
2012-08-22 | correct check. | Federico G. Schwindt | |
2012-08-19 | document some more disabled tests. | Federico G. Schwindt | |
2012-08-19 | Switch to -lpthread. | Federico G. Schwindt | |
2012-08-04 | Add a test for caching of stacks with the default attributes | Philip Guenthe | |
2012-07-11 | Now that socket timeouts don't return early, fix the regress to match | Philip Guenthe | |
2012-07-08 | Enhance the blocking test and add a test for closing while half-open | Philip Guenthe | |
2012-05-03 | Add pthread spinlock support. | Paul Irofti | |
Implementation, documentation and naive regression tests for: - pthread_spin_init() - pthread_spin_destroy() - pthread_spin_lock() - pthread_spin_trylock() - pthread_spin_unlock() Implementation okay guenther@, documentation okay jmc@. | |||
2012-04-13 | Remove suspend_np1 test from regress | Kurt Miller | |
2012-04-13 | Remove suspend_np1 from regress build. | Kurt Miller | |
2012-04-13 | Make it easier to compile regress tests on other OSes | Philip Guenthe | |
2012-04-11 | Add a simple barrier regression test. | Paul Irofti | |
2012-03-24 | Another tiny test case | Philip Guenthe | |
2012-03-19 | Add blocked_fifo. | Owain Ainsworth | |
2012-03-19 | Add a (failing) test for a deadlock with fifos and threads. | Owain Ainsworth | |
The ``sleep until we have a writer'' behaviour of an open() on a fifo does so with the file descriptor table locked, so if we are waiting for another thread to be our writer we will hang forever. Found this using zotero and firefox. ok fgsch@ | |||
2012-03-07 | another questionable hang. | Federico G. Schwindt | |
2012-03-03 | Add tests for sem_timedwait() | Philip Guenthe | |
2012-03-03 | Verify that sem_wait() doesn't return zero without decrementing the | Philip Guenthe | |
semaphore when a signal is received. It should either resume waiting or return EINTR, preferrably the former. | |||
2012-03-03 | While we guarantee that a zero-filled sem_t variable will trigger | Philip 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-27 | test based on python's dubious test_3_join_in_forked_from_thread test. | Federico G. Schwindt | |