tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
regress
/
lib
/
libpthread
/
at
jcs
66 folders
2 files
barrier
Update my email address.
6 years ago
blocked_close
- remove invalid potions of blocked_* regress tests - 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.
14 years ago
blocked_dup2
- remove invalid potions of blocked_* regress tests - 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.
14 years ago
blocked_fifo
Enhance the blocking test and add a test for closing while half-open
13 years ago
blocked_join
correct check.
13 years ago
blocked_shutdown
- remove invalid potions of blocked_* regress tests - 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.
14 years ago
cancel
switch master & slave; prompted by bluhm@
9 years ago
cancel2
Check pselect, poll, and ppoll too
10 years ago
cancel_wait
init a variable to avoid spurious failure
10 years ago
close
update error message. inetd has not been used since rev 1.3. spotted by miod@
14 years ago
close_race
eliminate warnings on 64bit archs
19 years ago
closefrom
regression for pthread version of closefrom
22 years ago
cwd
remove a couple hundred sys/param.h includes in userland code, and also whack some sys/cdefs.h early includes which is such a brutally bad pattern ok bluhm mbuhl
4 years ago
dlopen
Try both libpthread and RTLD_DEFAULT when looking up functions so the test can find everything after the libpthread->libc move
8 years ago
dup2_race
eliminate warnings on 64bit archs
19 years ago
earlysig
Use errc/warnc to simplify code. Also, in 'ftp', always put the error message last, after the hostname/ipaddr.
12 years ago
errno
Adjust test. You're not supposed to change errno in a signal handler and count on it being observable in the normal program flow after the signal handler returns. Such code would break code that sets errno to 0 and looks at its value later. With the recent futex(2) changes this particular aspect of the test no longer passed.
4 years ago
execve
The execve()-vs-threads test should test not just that the thread library 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
14 years ago
fcntl
fork
Remove unused function and variable to shut up warning. Put back a status print that was lost in previous.
8 years ago
getaddrinfo
set stack size for threads, the default is too small for this test.
23 years ago
group
-Wall cleanup.
20 years ago
include
Convert prototypes to new style. OK millert@
2 years ago
malloc_duel
Run malloc_duel for 60 seconds instead of 20. It did find kernel crashes due to missing TLB flushes in the past. Other stress tests in regress also run for a minute. Additional 40 seconds to the run time of the test suite is a small price compared to higher chance of finding bugs.
4 years ago
netdb
various cleanups; david says results are same
23 years ago
pause
pcap
set BIOCIMMEDIATE, makes the test work for lo0, which does more buffering than regular interfaces
9 years ago
poll
switch master & slave; prompted by bluhm@
9 years ago
preemption
various cleanups; david says results are same
23 years ago
preemption_float
Use sizeof(double) instead of hardcoding 8.
15 years ago
process_kill
another questionable hang.
14 years ago
pthread_atfork
zap unused var.
20 years ago
pthread_cond_timedwait
Use timespec and CLOCK_MONOTONIC for a timing test
12 years ago
pthread_create
various cleanups; david says results are same
23 years ago
pthread_join
pthread_join() must not return EINTR Simplify sem_trywait()
8 years ago
pthread_kill
In a signal handler use snprintf()+local buffer instead of asprintf+free
10 years ago
pthread_mutex
ending a statement in c only requires one semicolon
8 months ago
pthread_once
Disable the pthread_once subtest until the problem with samba port is resolved and libpthread can be fixed. discussed with guenther@
8 years ago
pthread_rwlock
Use errc/warnc to simplify code. Also, in 'ftp', always put the error message last, after the hostname/ipaddr.
12 years ago
pthread_rwlock2
add a new pthread_rwlock test based on concurrent rw/rd access on a buffer.
7 years ago
pthread_specific
Remove the REGRESS_MAXTIME feature from regress framework. The 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@
7 years ago
pw
readdir
various cleanups; david says results are same
23 years ago
restart
Do not connect to cvs.openbsd.org in regress. Run on loopback to make the test pass without internet access. OK mpi@
8 years ago
select
Prefer <fcntl.h> over <sys/fcntl.h> in userland While here, delete some extra #includes and apply style(9) sort rules.
8 years ago
semaphore
Output the relevant time specs before the assertion, in the hopes of figuring out why this occasionally fails.
3 years ago
setjmp
various cleanups; david says results are same
23 years ago
setsockopt
zap trailing newlines; "go for it" deraadt
11 years ago
sigdeliver
siginfo
Use signal handler safe dprintf() instead of asprintf + write OK millert@
2 years ago
siginterrupt
first round of tests to check system calls restarting with pthreads. guenther@ ok
14 years ago
sigmask
pthread_sigmask() was fixed to return the errno value on failure
14 years ago
signal
various cleanups; david says results are same
23 years ago
signals
Last parameter to execl[e]() functions *must* be cast to a pointer. Just NULL is not good practise as NULL is theoretically allowed to be an integer rather than a pointer.
10 years ago
signodefer
various cleanups; david says results are same
23 years ago
sigsuspend
SIGSTOP, SIGKILL, and (for threaded programs) SIGTHR are unblockable
14 years ago
sigwait
Go to sleep to let our contending thread win a race.
8 years ago
sleep
various cleanups; david says results are same
23 years ago
socket
Fix a race by always modifying the 'counter' variable while holding the mutex.
8 years ago
spinlock
Update my email address.
6 years ago
stack
Only need <stdint.h> and not all of <inttypes.h> here
11 years ago
stdarg
Remove the REGRESS_MAXTIME feature from regress framework. The 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@
7 years ago
stdfiles
delete wrong cvs $ tags
9 years ago
stdio
NO SPRINTF!
22 years ago
switch
userspace: remove vestigial '?' cases from top-level getopt(3) loops
3 years ago
system
Makefile
enable malloc_duel; "tests want to run" bluhm@
6 years ago
Makefile.inc
Remove the REGRESS_MAXTIME feature from regress framework. The 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@
7 years ago