From 7d86f0b5f24fc725b888e8f7a9fe78c2beb29638 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 14 Apr 2025 10:04:14 +0200 Subject: [PATCH] tail: test_follow_name_truncate4 is also flaky on selinux --- tests/by-util/test_tail.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_tail.rs b/tests/by-util/test_tail.rs index 0697ec299..7e468ad20 100644 --- a/tests/by-util/test_tail.rs +++ b/tests/by-util/test_tail.rs @@ -1965,8 +1965,13 @@ fn test_follow_name_truncate3() { .stdout_only(expected_stdout); } + #[test] -#[cfg(all(not(target_vendor = "apple"), not(target_os = "windows")))] // FIXME: for currently not working platforms +#[cfg(all( + not(target_os = "apple"), + not(target_os = "windows"), + not(feature = "feat_selinux") // flaky +))] // FIXME: for currently not working platforms fn test_follow_name_truncate4() { // Truncating a file with the same content it already has should not trigger a truncate event