START sys/kern/signal/sigpthread 2024-05-16T03:56:44Z ==== run-block-thread-3-unblock-0 ==== cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/sys/kern/signal/sigpthread/sigpthread.c cc -o sigpthread sigpthread.o -lpthread # block signal # run 3 threads # kill process # suspend threads until signaled # unblock thread 0 # handle signal ./sigpthread -b -t 3 -u 0 >out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal [0-2]' out signal 2 test `wc -l out grep 'signal [0-2]' out signal 2 test `wc -l out grep 'signal [0-2]' out signal 1 test `wc -l out grep 'signal [0-2]' out signal 1 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal [0-2]' out signal 0 test `wc -l out grep 'signal [0-2]' out signal 0 test `wc -l out grep 'signal [0-2]' out signal 0 test `wc -l out grep 'signal [0-2]' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 0' out signal 0 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 1' out signal 1 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 2' out signal 2 test `wc -l out grep 'signal 23' out signal 23 test `wc -l out grep 'signal 42' out signal 42 test `wc -l