diff --git a/tests/by-util/test_chgrp.rs b/tests/by-util/test_chgrp.rs index c39824907..cd40d80be 100644 --- a/tests/by-util/test_chgrp.rs +++ b/tests/by-util/test_chgrp.rs @@ -56,7 +56,7 @@ fn test_invalid_group() { } #[test] -fn test_1() { +fn test_error_1() { if getegid() != 0 { new_ucmd!().arg("bin").arg(DIR).fails().stderr_contains( // linux fails with "Operation not permitted (os error 1)"