userspace: remove vestigial '?' cases from top-level getopt(3) loopsgetopt(3) returns '?' when it encounters a flag not present in the inthe optstring or if a flag is missing its option argument.
userspace: remove vestigial '?' cases from top-level getopt(3) loopsgetopt(3) returns '?' when it encounters a flag not present in the inthe optstring or if a flag is missing its option argument. We canhandle this case with the "default" failure case with no loss oflegibility. Hence, remove all the redundant "case '?':" lines.Prompted by dlg@. With help from dlg@ and millert@.Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2ok naddy@ millert@ dlg@
show more ...
In general I like verbose tests as output makes debugging easier.But this one just fills the log file by writing characters from therunning threads. Pipe stdout to wc to show performance. Run tes
In general I like verbose tests as output makes debugging easier.But this one just fills the log file by writing characters from therunning threads. Pipe stdout to wc to show performance. Run testmultiple times with various number of threads and print cpu time.Replace atoi(3) with strtonum(3). Fix white spaces.
Use getopt(3) correctly.
various cleanups; david says results are same
reduce the amount of output on this test so you can see when thingsgo wrong. Remove dead code.
write newline before successful test completion
convert everything to bsd.regress.mk
Regression tests for libc_r (pthreads) library.Thanks to pval@ for resolving the license stuff.