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

chmod: Remove misleading comments

This commit is contained in:
Sylvestre Ledru 2025-01-11 16:03:12 +01:00
parent 78b09f400b
commit 6457836f33

View file

@ -822,7 +822,6 @@ fn test_chmod_no_dereference_symlink() {
set_permissions(at.plus(target), Permissions::from_mode(0o664)).unwrap(); set_permissions(at.plus(target), Permissions::from_mode(0o664)).unwrap();
at.symlink_file(target, symlink); at.symlink_file(target, symlink);
// Use --no-dereference: should modify the symlink itself
scene scene
.ucmd() .ucmd()
.arg("--no-dereference") .arg("--no-dereference")
@ -894,7 +893,6 @@ fn test_chmod_symlink_to_dangling_recursive() {
at.symlink_file(dangling_target, symlink); at.symlink_file(dangling_target, symlink);
// Use --no-dereference: should succeed and modify the symlink itself
scene scene
.ucmd() .ucmd()
.arg("755") .arg("755")