about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2015-02-17 11:11:53 +0100
committerSébastien Marie <semarie@users.noreply.github.com>2015-02-17 11:11:53 +0100
commit9eeaa3c78694ec593450e5dd96a5f3fa10afd434 (patch)
tree56d5d578eca1584ef693e8960ff9f6125c8bab85 /src/libstd/sys/unix/stack_overflow.rs
parent81bce5290ff55b9a2eddd83d31b0778180904d7f (diff)
downloadrust-9eeaa3c78694ec593450e5dd96a5f3fa10afd434.tar.gz
rust-9eeaa3c78694ec593450e5dd96a5f3fa10afd434.zip
openbsd: adapt connect_error test
The connect_error test check if connecting to "0.0.0.0:1" works (it
shouldn't). And in case of error, the test expects a ConnectionRefused
error.

Under OpenBSD, trying to connect to "0.0.0.0" isn't a ConnectionRefused:
it is an InvalidInput error.

The patch allow the error to be ConnectionRefused or InvalidInput.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions