summaryrefslogtreecommitdiff
path: root/tests/reqrep_ipc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reqrep_ipc.cpp')
-rw-r--r--tests/reqrep_ipc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reqrep_ipc.cpp b/tests/reqrep_ipc.cpp
index 9be50fb..66315ef 100644
--- a/tests/reqrep_ipc.cpp
+++ b/tests/reqrep_ipc.cpp
@@ -37,12 +37,12 @@ int XS_TEST_MAIN ()
void *sb = xs_socket (ctx, XS_REP);
assert (sb);
int rc = xs_bind (sb, "ipc:///tmp/tester");
- assert (rc == 0);
+ assert (rc != -1);
void *sc = xs_socket (ctx, XS_REQ);
assert (sc);
rc = xs_connect (sc, "ipc:///tmp/tester");
- assert (rc == 0);
+ assert (rc != -1);
bounce (sb, sc);