We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b72df8b commit f06ac2eCopy full SHA for f06ac2e
tests/by-util/test_chgrp.rs
@@ -645,8 +645,7 @@ fn test_chgrp_recursive_on_file() {
645
fn test_chgrp_multiple_files_error_on_first_success_on_last() {
646
use std::os::unix::fs::PermissionsExt;
647
648
- let scene = TestScenario::new(util_name!());
649
- let at = &scene.fixtures;
+ let (at, mut ucmd) = at_and_ucmd!();
650
651
let current_gid = getegid();
652
@@ -661,9 +660,7 @@ fn test_chgrp_multiple_files_error_on_first_success_on_last() {
661
660
)
662
.unwrap();
663
664
- scene
665
- .ucmd()
666
- .arg("-R")
+ ucmd.arg("-R")
667
.arg(current_gid.to_string())
668
.arg("a_readonly_dir")
669
.arg("b_writable_file")
0 commit comments