]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
librdmacm/rstream: Set rsocket nonblocking for base tests
authorSean Hefty <sean.hefty@intel.com>
Fri, 11 May 2012 17:33:13 +0000 (10:33 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 16 May 2012 22:54:55 +0000 (15:54 -0700)
The base set of rstream tests want nonblocking rsockets, but don't
actually set the rsocket to nonblocking.  It instead relies on the
MSG_DONTWAIT flag.  Make the code match the expected behavior and
set the rsocket to nonblocking and make nonblocking the default.

Provide a test option to switch it back to blocking mode.  We keep
the existing nonblocking test option for compatibility.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>

No differences found