From f1cbb4d566428c74f98acdc4805ffbda7c9994e0 Mon Sep 17 00:00:00 2001 From: "sh8281.kim" Date: Thu, 7 Nov 2013 19:22:18 +0900 Subject: [PATCH] fix rpass core-run-destroy for android --- src/test/run-pass/core-run-destroy.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/run-pass/core-run-destroy.rs b/src/test/run-pass/core-run-destroy.rs index aee4c7e40bc..8a7a44d7f30 100644 --- a/src/test/run-pass/core-run-destroy.rs +++ b/src/test/run-pass/core-run-destroy.rs @@ -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";