Commit Graph

4 Commits (1665b4a2a3bb35b24ca65b5797904aa47ce1a908)

Author SHA1 Message Date
Igor Zinkovsky 67b10f816c fix test-net-pipe-connect-errors for windows 2012-03-01 14:09:10 -08:00
Andreas Madsen 4865063924 Tests: fix jslint issues 2012-01-17 19:45:09 +01:00
Ben Noordhuis 8974ba31a3 test: fix simple/net-pipe-connect-errors
When trying to connect to something that is not a UNIX socket, Linux returns
ECONNREFUSED, not ENOTSOCK.

We cannot atomically determine if the other end is a) a stale socket, or b) not
a socket at all, so let's accept both error codes.
2011-11-04 05:30:00 +01:00
Maciej Małecki 481c17504d test error codes related to pipes
This tests passes on node v0.4, but fails on node v0.5. v0.5 seems to
generally lack error codes for various error events related to UNIX
pipes.

Fixes #2001
2011-11-03 10:54:00 -07:00