Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update my email address. | 2020-04-06 | 2 | -4/+4 | |
| | |||||
* | Fix the sem_timedwait(3) test. | 2019-12-20 | 1 | -9/+25 | |
| | | | | | | | | | | | | | | | | | | The recent clock_getres(2) changes made it so that clock_getres(2) returns the granularity of the active timecounter. This is usually much finer than that of hardclock(9), so we can no longer use clock_getres(2) to fudge our upper timeout return bound. The test is failing because it thinks our sem_timedwait(3) call is returning with too much latency. We can still get the hardclock(9) granularity via the kern.clockrate sysctl(2), though, so just use that to fudge the upper bound. While here, we ought to be checking that we return after the requested absolute timeout, not that we were asleep for a particular interval. Breakage reported by mpi@. ok mpi@ | ||||
* | enable malloc_duel; "tests want to run" bluhm@ | 2019-05-16 | 1 | -3/+3 | |
| | |||||
* | Turn the 2 thread duel into a 11 thread melee. | 2019-05-15 | 1 | -4/+8 | |
| | |||||
* | Remove the REGRESS_MAXTIME feature from regress framework. The | 2019-05-14 | 3 | -9/+3 | |
| | | | | | | | timeout based on CPU seconds is pretty useless, most hanging tests sleep and do not spin. The timeout could not be distinguished from failure. Only 3 tests used it. OK anton@ schwarze@ cheloha@ otto@ | ||||
* | link pthread_rwlock2 test | 2019-03-04 | 1 | -2/+2 | |
| | |||||
* | add a new pthread_rwlock test based on concurrent rw/rd access on a buffer. | 2019-03-04 | 2 | -0/+116 | |
| | | | | discussed with visa@ | ||||
* | In general I like verbose tests as output makes debugging easier. | 2018-05-21 | 2 | -33/+30 | |
| | | | | | | | But this one just fills the log file by writing characters from the running threads. Pipe stdout to wc to show performance. Run test multiple times with various number of threads and print cpu time. Replace atoi(3) with strtonum(3). Fix white spaces. | ||||
* | Fix sem_timedwait regress test. Needs SA_RESTART to block now. | 2018-04-27 | 1 | -2/+2 | |
| | | | | Hug and OK guenther@ | ||||
* | pthread_join() must not return EINTR | 2018-04-27 | 1 | -3/+25 | |
| | | | | | | Simplify sem_trywait() ok pirofti@ mpi@ | ||||
* | Prefer <fcntl.h> over <sys/fcntl.h> in userland | 2018-04-26 | 1 | -6/+6 | |
| | | | | | | While here, delete some extra #includes and apply style(9) sort rules. ok deraadt@ krw@ mpi@ | ||||
* | Disable the pthread_once subtest until the problem with samba port | 2017-11-16 | 1 | -1/+8 | |
| | | | | | is resolved and libpthread can be fixed. discussed with guenther@ | ||||
* | Add regress test for cancellation of pthread_once()'s init_routine | 2017-10-16 | 3 | -2/+55 | |
| | | | | From Scott Cheloha (scottcheloha (at) gmail.com) | ||||
* | Try both libpthread and RTLD_DEFAULT when looking up functions | 2017-09-07 | 1 | -2/+3 | |
| | | | | so the test can find everything after the libpthread->libc move | ||||
* | Remove unused function and variable to shut up warning. Put back | 2017-07-29 | 1 | -11/+2 | |
| | | | | a status print that was lost in previous. | ||||
* | repair regress for more aggressive post fork checking in library. | 2017-07-29 | 1 | -18/+1 | |
| | | | | | we should not be checking that things explicitly forbidden work. prompted by bluhm | ||||
* | Remove all references to "make depend" from regress. | 2017-07-07 | 1 | -2/+2 | |
| | |||||
* | Fix a race by always modifying the 'counter' variable while holding the | 2017-05-30 | 1 | -3/+3 | |
| | | | | | | mutex. ok tedu@ | ||||
* | Do not connect to cvs.openbsd.org in regress. Run on loopback to | 2017-05-27 | 1 | -5/+12 | |
| | | | | | make the test pass without internet access. OK mpi@ | ||||
* | Go to sleep to let our contending thread win a race. | 2017-05-27 | 1 | -1/+2 | |
| | | | | | | | Because we cannot assume that the contending thread will grab it between our unlock/lock. ok kettenis@ | ||||
* | set BIOCIMMEDIATE, makes the test work for lo0, which does more buffering | 2016-09-21 | 1 | -1/+4 | |
| | | | | than regular interfaces | ||||
* | switch master & slave; prompted by bluhm@ | 2016-09-20 | 2 | -4/+4 | |
| | |||||
* | don't depend on /dev/tty, in bluhm's framework there is no such thing | 2016-09-20 | 4 | -10/+12 | |
| | | | | use openpty(3) instead | ||||
* | Tighten up the siginfo check | 2016-09-01 | 1 | -3/+3 | |
| | |||||
* | delete wrong cvs $ tags | 2016-09-01 | 1 | -2/+1 | |
| | |||||
* | When interrupted, connect() should leave the socket connecting in the | 2016-08-09 | 1 | -2/+5 | |
| | | | | | | | | 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@ | ||||
* | In a signal handler use snprintf()+local buffer instead of asprintf+free | 2016-05-10 | 1 | -6/+6 | |
| | |||||
* | Test that various calls can be interrupted in a non-threaded process, | 2016-05-10 | 3 | -3/+707 | |
| | | | | | then dlopen() libpthread and do that again in a second thread, and then verify that they're all correctly acting as cancellation points. | ||||
* | Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0]) | 2016-03-20 | 1 | -14/+14 | |
| | | | | | | | | | | 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@ | ||||
* | Last parameter to execl[e]() functions *must* be cast to a pointer. | 2016-03-17 | 1 | -2/+2 | |
| | | | | | | | | | | | | 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@ | ||||
* | Properly initialize sin_family. | 2016-01-27 | 3 | -3/+6 | |
| | |||||
* | hint: compile before commit | 2015-11-19 | 1 | -3/+3 | |
| | |||||
* | replace setbuf with setvbuf, from Frederic Nowak | 2015-11-04 | 3 | -9/+9 | |
| | |||||
* | init a variable to avoid spurious failure | 2015-09-14 | 1 | -2/+2 | |
| | |||||
* | Check pselect, poll, and ppoll too | 2015-09-14 | 1 | -4/+77 | |
| | |||||
* | Add regress for cancellation of wait/waitpid/wait3/wait4 | 2015-09-14 | 3 | -2/+116 | |
| | |||||
* | Delete a test which required behavior not defined by the spec | 2014-11-16 | 1 | -15/+2 | |
| | | | | (behavior of sigwait() when signal not blocked in all threads) | ||||
* | Only need <stdint.h> and not all of <inttypes.h> here | 2014-08-10 | 1 | -2/+2 | |
| | |||||
* | zap trailing newlines; "go for it" deraadt | 2014-07-16 | 2 | -4/+2 | |
| | |||||
* | Enter the REGRESS_FULL target subdirs for clean, cleandir and obj targets. | 2014-07-03 | 1 | -2/+2 | |
| | |||||
* | Use errc/warnc to simplify code. | 2014-05-20 | 2 | -5/+5 | |
| | | | | | | Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@ | ||||
* | There can be resolution-worth of slop in two places, so accept that | 2014-01-22 | 1 | -1/+2 | |
| | |||||
* | spacing | 2013-12-26 | 1 | -2/+2 | |
| | |||||
* | Use a bigger timeout, otherwise this test fails on some (not really) slower | 2013-12-22 | 1 | -1/+3 | |
| | | | | hardware. | ||||
* | Use timespec and CLOCK_MONOTONIC for a timing test | 2013-12-21 | 1 | -10/+15 | |
| | |||||
* | use lld format string and a cast for time_t | 2013-10-29 | 1 | -3/+3 | |
| | | | | ok guenther@ | ||||
* | Add a test to verify that disabling cancelation defers it until reenabled. | 2013-10-06 | 1 | -2/+46 | |
| | | | | Add missing pthread_cleanup_pop() calls (they're required to be matched). | ||||
* | Some tests are currently failing. Only run those if the REGRESS_FULL | 2013-08-01 | 1 | -11/+16 | |
| | | | | variable is set. | ||||
* | Add earlysig test to check whether the pthread fork() wrapper | 2013-06-21 | 3 | -2/+95 | |
| | | | | | has a critical section where getting a signal causes a hang. Based on otto@ earlysig kernel regress; suggested by miod@ | ||||
* | Disable the blocked_{close,dup2,fifo} tests, as we know they fail | 2013-03-25 | 1 | -3/+8 | |
| |