Skip to content

Commit a37c4a6

Browse files
authored
Merge pull request #7756 from uutils/sylvestre-patch-5
tail: Ignore a few tests on selinux
2 parents 1f133c5 + a289e9f commit a37c4a6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/by-util/test_tail.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,11 @@ fn test_follow_name_truncate3() {
19661966
}
19671967

19681968
#[test]
1969-
#[cfg(all(not(target_vendor = "apple"), not(target_os = "windows")))] // FIXME: for currently not working platforms
1969+
#[cfg(all(
1970+
not(target_vendor = "apple"),
1971+
not(target_os = "windows"),
1972+
not(feature = "feat_selinux") // flaky
1973+
))] // FIXME: for currently not working platforms
19701974
fn test_follow_name_truncate4() {
19711975
// Truncating a file with the same content it already has should not trigger a truncate event
19721976

@@ -4379,7 +4383,8 @@ fn test_args_when_directory_given_shorthand_big_f_together_with_retry() {
43794383
not(target_vendor = "apple"),
43804384
not(target_os = "windows"),
43814385
not(target_os = "freebsd"),
4382-
not(target_os = "openbsd")
4386+
not(target_os = "openbsd"),
4387+
not(feature = "feat_selinux") // flaky
43834388
))]
43844389
fn test_follow_when_files_are_pointing_to_same_relative_file_and_file_stays_same_size() {
43854390
let scene = TestScenario::new(util_name!());

0 commit comments

Comments
 (0)