1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

chgrp: rename a test for something a bit more explicit

This commit is contained in:
Sylvestre Ledru 2025-01-12 22:38:04 +01:00
parent d76c561516
commit 9c42b8efdc

View file

@ -56,7 +56,7 @@ fn test_invalid_group() {
} }
#[test] #[test]
fn test_1() { fn test_error_1() {
if getegid() != 0 { if getegid() != 0 {
new_ucmd!().arg("bin").arg(DIR).fails().stderr_contains( new_ucmd!().arg("bin").arg(DIR).fails().stderr_contains(
// linux fails with "Operation not permitted (os error 1)" // linux fails with "Operation not permitted (os error 1)"