mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
selinux test: disable some tests (not a big deal)
This commit is contained in:
parent
3a858905fe
commit
117fea23ba
2 changed files with 4 additions and 0 deletions
|
@ -1552,6 +1552,8 @@ fn test_nocache_file() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
|
#[cfg(not(feature = "feat_selinux"))]
|
||||||
|
// Disabled on SELinux for now
|
||||||
fn test_skip_past_dev() {
|
fn test_skip_past_dev() {
|
||||||
// NOTE: This test intends to trigger code which can only be reached with root permissions.
|
// NOTE: This test intends to trigger code which can only be reached with root permissions.
|
||||||
let ts = TestScenario::new(util_name!());
|
let ts = TestScenario::new(util_name!());
|
||||||
|
@ -1573,6 +1575,7 @@ fn test_skip_past_dev() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
|
#[cfg(not(feature = "feat_selinux"))]
|
||||||
fn test_seek_past_dev() {
|
fn test_seek_past_dev() {
|
||||||
// NOTE: This test intends to trigger code which can only be reached with root permissions.
|
// NOTE: This test intends to trigger code which can only be reached with root permissions.
|
||||||
let ts = TestScenario::new(util_name!());
|
let ts = TestScenario::new(util_name!());
|
||||||
|
|
|
@ -285,6 +285,7 @@ fn test_type_option() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(not(any(target_os = "freebsd", target_os = "windows")))] // FIXME: fix test for FreeBSD & Win
|
#[cfg(not(any(target_os = "freebsd", target_os = "windows")))] // FIXME: fix test for FreeBSD & Win
|
||||||
|
#[cfg(not(feature = "feat_selinux"))]
|
||||||
fn test_type_option_with_file() {
|
fn test_type_option_with_file() {
|
||||||
let fs_type = new_ucmd!()
|
let fs_type = new_ucmd!()
|
||||||
.args(&["--output=fstype", "."])
|
.args(&["--output=fstype", "."])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue