@@ -29,7 +29,7 @@ use std::rt::io::pipe::*;
29
29
use std:: str;
30
30
31
31
#[ test]
32
- #[ cfg( unix, not( android) ) ]
32
+ #[ cfg( unix, not( target_os= " android" ) ) ]
33
33
fn smoke ( ) {
34
34
let io = ~[ ] ;
35
35
let args = ProcessConfig {
@@ -46,7 +46,7 @@ fn smoke() {
46
46
}
47
47
48
48
#[ test]
49
- #[ cfg( unix, not( android) ) ]
49
+ #[ cfg( unix, not( target_os= " android" ) ) ]
50
50
fn smoke_failure ( ) {
51
51
let io = ~[ ] ;
52
52
let args = ProcessConfig {
@@ -63,7 +63,7 @@ fn smoke_failure() {
63
63
}
64
64
65
65
#[ test]
66
- #[ cfg( unix, not( android) ) ]
66
+ #[ cfg( unix, not( target_os= " android" ) ) ]
67
67
fn exit_reported_right ( ) {
68
68
let io = ~[ ] ;
69
69
let args = ProcessConfig {
@@ -103,7 +103,7 @@ fn run_output(args: ProcessConfig) -> ~str {
103
103
}
104
104
105
105
#[ test]
106
- #[ cfg( unix, not( android) ) ]
106
+ #[ cfg( unix, not( target_os= " android" ) ) ]
107
107
fn stdout_works ( ) {
108
108
let pipe = PipeStream :: new ( ) . unwrap ( ) ;
109
109
let io = ~[ Ignored , CreatePipe ( pipe, false , true ) ] ;
@@ -118,7 +118,7 @@ fn stdout_works() {
118
118
}
119
119
120
120
#[ test]
121
- #[ cfg( unix, not( android) ) ]
121
+ #[ cfg( unix, not( target_os= " android" ) ) ]
122
122
fn set_cwd_works ( ) {
123
123
let pipe = PipeStream :: new ( ) . unwrap ( ) ;
124
124
let io = ~[ Ignored , CreatePipe ( pipe, false , true ) ] ;
@@ -134,7 +134,7 @@ fn set_cwd_works() {
134
134
}
135
135
136
136
#[ test]
137
- #[ cfg( unix, not( android) ) ]
137
+ #[ cfg( unix, not( target_os= " android" ) ) ]
138
138
fn stdin_works ( ) {
139
139
let input = PipeStream :: new ( ) . unwrap ( ) ;
140
140
let output = PipeStream :: new ( ) . unwrap ( ) ;
0 commit comments