std: Ignore bind error tests on android. #11530

This commit is contained in:
Brian Anderson 2014-01-13 19:45:08 -08:00
parent 279366a0b2
commit 062b0fd264
2 changed files with 4 additions and 2 deletions

View file

@ -136,6 +136,7 @@ mod test {
use io::*;
use prelude::*;
// FIXME #11530 this fails on android because tests are run as root
iotest!(fn bind_error() {
let mut called = false;
io_error::cond.trap(|e| {
@ -147,7 +148,7 @@ mod test {
assert!(listener.is_none());
});
assert!(called);
} #[ignore(cfg(windows))])
} #[ignore(cfg(windows))] #[ignore(cfg(target_os = "android"))])
iotest!(fn connect_error() {
let mut called = false;

View file

@ -99,6 +99,7 @@ mod test {
use super::*;
use io::net::ip::{SocketAddr};
// FIXME #11530 this fails on android because tests are run as root
iotest!(fn bind_error() {
let mut called = false;
io_error::cond.trap(|e| {
@ -110,7 +111,7 @@ mod test {
assert!(socket.is_none());
});
assert!(called);
} #[ignore(cfg(windows))])
} #[ignore(cfg(windows))] #[ignore(cfg(target_os = "android"))])
iotest!(fn socket_smoke_test_ip4() {
let server_ip = next_test_ip4();