Change connection failure test to use an invalid hostname

- invalid hostname set to 0mq.is.the.best (naturally!)
- issue happens as other valid-like non-existent hostnames were
  redirected by buggy Cable/ISP DNS servers
This commit is contained in:
Hiten P 2012-06-08 13:15:45 +01:00
parent 1dcedf7ab1
commit 31cb1f297d

View File

@ -40,7 +40,7 @@ int main (int argc, char *argv [])
int rc = zmq_connect (sock, "tcp://localhost:1234");
assert (rc == 0);
rc = zmq_connect (sock, "tcp://foobar123xyz:1234");
rc = zmq_connect (sock, "tcp://0mq.is.teh.best:1234");
assert (rc == -1);
assert (errno == EINVAL);