Skip to content

Commit

Permalink
auto merge of #10336 : ksh8281/rust/fix_rpass_core-run-destroy_for_an…
Browse files Browse the repository at this point in the history
…droid, r=yichoi

fix rpass core-run-destroy for android
  • Loading branch information
bors committed Nov 7, 2013
2 parents a5f6f85 + f1cbb4d commit 03f3051
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/run-pass/core-run-destroy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ fn test_destroy_twice() {

fn test_destroy_actually_kills(force: bool) {

#[cfg(unix)]
#[cfg(unix,not(target_os="android"))]
static BLOCK_COMMAND: &'static str = "cat";

#[cfg(unix,target_os="android")]
static BLOCK_COMMAND: &'static str = "/system/bin/cat";

#[cfg(windows)]
static BLOCK_COMMAND: &'static str = "cmd";

Expand Down

0 comments on commit 03f3051

Please sign in to comment.