Adjust test. You're not supposed to change errno in a signal handler and
authorkettenis <kettenis@openbsd.org>
Wed, 23 Jun 2021 22:39:31 +0000 (22:39 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 23 Jun 2021 22:39:31 +0000 (22:39 +0000)
commit0d411e16797a2c905cfe9dac91dee930dfc51c0d
tree6b57bf5475de522e338ee058ed03518815720bfc
parent7ffc43e0b98cb16a850c7792a5955388a81bfb56
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.

ok deraadt@, bluhm@
regress/lib/libpthread/errno/errno.c