mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-27 20:47:11 +02:00
Update ZMQ to current git.
This commit is contained in:
10
vendor/ZMQ/tests/test_reqrep_vmci.cpp
vendored
10
vendor/ZMQ/tests/test_reqrep_vmci.cpp
vendored
@ -42,16 +42,16 @@ void test_reqrep_vmci ()
|
||||
s << "vmci://" << VMCISock_GetLocalCID () << ":" << 5560;
|
||||
std::string endpoint = s.str ();
|
||||
|
||||
void *sb = test_context_socket (ZMQ_REP);
|
||||
void *sb = test_context_socket (ZMQ_DEALER);
|
||||
TEST_ASSERT_SUCCESS_ERRNO (zmq_bind (sb, endpoint.c_str ()));
|
||||
|
||||
void *sc = test_context_socket (ZMQ_REQ);
|
||||
void *sc = test_context_socket (ZMQ_DEALER);
|
||||
TEST_ASSERT_SUCCESS_ERRNO (zmq_connect (sc, endpoint.c_str ()));
|
||||
|
||||
bounce (sb, sc);
|
||||
expect_bounce_fail (sb, sc);
|
||||
|
||||
test_context_socket_close (sc);
|
||||
test_context_socket_close (sb);
|
||||
test_context_socket_close_zero_linger (sc);
|
||||
test_context_socket_close_zero_linger (sb);
|
||||
}
|
||||
|
||||
int main (void)
|
||||
|
Reference in New Issue
Block a user