diff --git a/tests/by-util/test_dd.rs b/tests/by-util/test_dd.rs index 12f78e2d3..792b88294 100644 --- a/tests/by-util/test_dd.rs +++ b/tests/by-util/test_dd.rs @@ -4,7 +4,7 @@ // file that was distributed with this source code. // spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio, atoe, atoibm, availible, behaviour, bmax, bremain, btotal, cflags, creat, ctable, ctty, datastructures, doesnt, etoa, fileout, fname, gnudd, iconvflags, iseek, nocache, noctty, noerror, nofollow, nolinks, nonblock, oconvflags, oseek, outfile, parseargs, rlen, rmax, rposition, rremain, rsofar, rstat, sigusr, sigval, wlen, wstat abcdefghijklm abcdefghi nabcde nabcdefg abcdefg fifoname seekable -#[cfg(unix)] +#[cfg(all(unix, not(feature = "feat_selinux")))] use crate::common::util::run_ucmd_as_root_with_stdin_stdout; use crate::common::util::TestScenario; #[cfg(all(not(windows), feature = "printf"))] diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index ae09ab0b4..6b9be8eb5 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -1102,6 +1102,8 @@ fn test_ls_long() { #[cfg(not(windows))] #[test] +#[cfg(not(feature = "feat_selinux"))] +// Disabled on the SELinux runner for now fn test_ls_long_format() { let scene = TestScenario::new(util_name!()); let at = &scene.fixtures; @@ -1474,6 +1476,8 @@ fn test_ls_long_total_size() { } #[test] +#[cfg(not(feature = "feat_selinux"))] +// Disabled on the SELinux runner for now fn test_ls_long_formats() { let scene = TestScenario::new(util_name!()); let at = &scene.fixtures; @@ -2749,6 +2753,8 @@ fn test_ls_color() { #[cfg(unix)] #[test] +#[cfg(not(feature = "feat_selinux"))] +// Disabled on the SELinux runner for now fn test_ls_inode() { let scene = TestScenario::new(util_name!()); let at = &scene.fixtures; @@ -5279,6 +5285,8 @@ fn test_acl_display() { // setting is also configured). #[cfg(unix)] #[test] +#[cfg(not(feature = "feat_selinux"))] +// Disabled on the SELinux runner for now fn test_ls_color_norm() { let scene = TestScenario::new(util_name!()); let at = &scene.fixtures;