libzmq/tests
Arthur O'Dwyer f718d2bead Fix a bug reported on the mailing list.
Both memcmp and strcmp return zero on equal, nonzero on nonequal;
so all of these tests were backwards.

The original committer fixed the failure by comparing 22 bytes instead
of the correct 21, so that the assertions would trigger only if the
22nd byte happened to match exactly --- which was rare.

The correct fix is to compare the right number of bytes with the
right sense.  (I think all of the ".addr" fields are null-terminated,
in which case it's more appropriate to use strcmp throughout.)
2012-08-23 12:56:00 -07:00
..
Makefile.am Verbose ROUTER socket behavior patch 2012-06-17 02:33:43 +04:00
test_connect_delay.cpp Add unistd header to test_connect_delay header 2012-06-13 12:18:22 +01:00
test_connect_resolve.cpp Revert "Revert "Merge branch 'master' of github.com:ianbarber/libzmq"" 2012-06-12 14:43:18 +01:00
test_hwm.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_invalid_rep.cpp Rename XREP/XREQ to ROUTER/DEALER in tests 2012-04-25 01:05:38 +02:00
test_last_endpoint.cpp Rename XREP/XREQ to ROUTER/DEALER in tests 2012-04-25 01:05:38 +02:00
test_monitor.cpp Fix a bug reported on the mailing list. 2012-08-23 12:56:00 -07:00
test_msg_flags.cpp Rename XREP/XREQ to ROUTER/DEALER in tests 2012-04-25 01:05:38 +02:00
test_pair_inproc.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_pair_ipc.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_pair_tcp.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_reqrep_device.cpp Rename XREP/XREQ to ROUTER/DEALER in tests 2012-04-25 01:05:38 +02:00
test_reqrep_inproc.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_reqrep_ipc.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_reqrep_tcp.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_router_behavior.cpp Removed an unneeded include in tests 2012-06-17 02:38:15 +04:00
test_shutdown_stress.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_sub_forward.cpp Copyright dates adjusted to reflect reality 2011-11-01 18:06:11 +01:00
test_term_endpoint.cpp added zmq_unbind() / zmq_disconnect() test script. 2012-04-21 18:39:19 +04:00
test_timeo.cpp Minor typo corrected 2011-11-05 11:38:50 +01:00
testutil.hpp 250bpm copyrights added 2011-10-31 16:20:30 +01:00