History log of /openbsd-current/regress/lib/libpthread/setsockopt/2/setsockopt2.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.5 26-Feb-2012 fgsch

similar change to the setsockopt1.c one: use the resolution of the monotonic
clock from clock_getres(). while here use a different port when binding.


# 1.4 20-Feb-2012 fgsch

ops. compare against the socket timeout, not the alarm one.
sometimes these tests are incorrectly marked as failing (ktrace shows
the read is returning within the specified timeout) but there are other
times where they're taking slightly longer than expected.
for now both cases are marked as failure.


# 1.3 19-Feb-2012 fgsch

fix tests.


Revision tags: OPENBSD_5_1_BASE
# 1.2 12-Dec-2011 fgsch

better output on error.


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.1 26-Dec-2009 fgsch

Add tests to check timeout on sockets under different situations. kurt@ ok.