From cb2cf44b7e6872addf92744bb112e8fa4cea07db Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 23 Aug 2026 23:13:42 +0200 Subject: [PATCH] test: disable test_hard_link_is_same_file on Android Claude-Session: https://claude.ai/code/session_01YVVa2fkrmpA2bsDQFExEVc --- tests/by-util/test_test.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/by-util/test_test.rs b/tests/by-util/test_test.rs index aca5a5a07e..c044d46076 100644 --- a/tests/by-util/test_test.rs +++ b/tests/by-util/test_test.rs @@ -464,6 +464,8 @@ fn test_file_is_itself() { #[test] #[cfg_attr(wasi_runner, ignore = "WASI sandbox: host paths not visible")] +// Disabled for android, since the temp dir doesn't allow creating hard links +#[cfg(not(target_os = "android"))] fn test_hard_link_is_same_file() { let (at, mut ucmd) = at_and_ucmd!(); at.hard_link("regular_file", "hard_link");