From ac068e0487d216ccc7c312ecc84697f92191eff5 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 29 Apr 2023 19:23:56 +0200 Subject: [PATCH] Disable test_sort::test_compress_fail & test_chmod::test_mode_after_dash_dash on android --- tests/by-util/test_chmod.rs | 1 + tests/by-util/test_sort.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_chmod.rs b/tests/by-util/test_chmod.rs index acba00854..697bc939e 100644 --- a/tests/by-util/test_chmod.rs +++ b/tests/by-util/test_chmod.rs @@ -538,6 +538,7 @@ fn test_invalid_arg() { } #[test] +#[cfg(not(target_os = "android"))] fn test_mode_after_dash_dash() { let (at, ucmd) = at_and_ucmd!(); run_single_test( diff --git a/tests/by-util/test_sort.rs b/tests/by-util/test_sort.rs index a61db56b0..114907393 100644 --- a/tests/by-util/test_sort.rs +++ b/tests/by-util/test_sort.rs @@ -876,7 +876,7 @@ fn sort_empty_chunk() { } #[test] -#[cfg(any(target_os = "linux", target_os = "android"))] +#[cfg(target_os = "linux")] fn test_compress() { new_ucmd!() .args(&[