File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,6 @@ sysctl = "0.1"
37
37
name = " test"
38
38
path = " test/test.rs"
39
39
40
- [[test ]]
41
- name = " test-aio-drop"
42
- path = " test/sys/test_aio_drop.rs"
43
-
44
40
[[test ]]
45
41
name = " test-lio-listio-resubmit"
46
42
path = " test/sys/test_lio_listio_resubmit.rs"
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ mod test_signal;
11
11
target_os = "macos" ,
12
12
target_os = "netbsd" ) ) ]
13
13
mod test_aio;
14
+ #[ cfg( any( target_os = "freebsd" ,
15
+ target_os = "ios" ,
16
+ target_os = "linux" ,
17
+ target_os = "macos" ,
18
+ target_os = "netbsd" ) ) ]
19
+ mod test_aio_drop;
14
20
#[ cfg( target_os = "linux" ) ]
15
21
mod test_signalfd;
16
22
mod test_socket;
Original file line number Diff line number Diff line change 1
1
extern crate nix;
2
2
extern crate tempfile;
3
3
4
- #[ cfg( not( target_os = "openbsd" ) ) ]
5
4
use nix:: sys:: aio:: * ;
6
5
use nix:: sys:: signal:: * ;
7
6
use std:: os:: unix:: io:: AsRawFd ;
@@ -12,8 +11,7 @@ use tempfile::tempfile;
12
11
// the AIO subsystem and causes subsequent tests to fail
13
12
#[ test]
14
13
#[ should_panic( expected = "Dropped an in-progress AioCb" ) ]
15
- #[ cfg( not( any( target_env = "musl" ,
16
- target_os = "openbsd" ) ) ) ]
14
+ #[ cfg( not( target_env = "musl" ) ) ]
17
15
fn test_drop ( ) {
18
16
const WBUF : & [ u8 ] = b"CDEF" ;
19
17
You can’t perform that action at this time.
0 commit comments