summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/survey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/survey.cpp b/tests/survey.cpp
index f21b217..2179779 100644
--- a/tests/survey.cpp
+++ b/tests/survey.cpp
@@ -126,7 +126,7 @@ int XS_TEST_MAIN ()
assert (rc == 3);
void *watch = xs_stopwatch_start ();
rc = xs_recv (surveyor, buf, sizeof (buf), 0);
- assert (rc == - 1 && errno == EAGAIN);
+ assert (rc == - 1 && errno == ETIMEDOUT);
unsigned long elapsed = xs_stopwatch_stop (watch) / 1000;
time_assert (elapsed, (unsigned long) timeout);