about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/run-pass/core-run-destroy.rs5
1 files changed, 4 insertions, 1 deletions
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";