mirror of
https://github.com/uutils/coreutils
synced 2024-11-05 14:21:32 +00:00
more: Update tests/by-util/test_more.rs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
parent
53ffd55bdf
commit
ccdb76aef7
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ fn test_more_invalid_file_perms() {
|
|||
if std::io::stdout().is_terminal() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
let permissions = Permissions::from_mode(0o244);
|
||||
at.make_file("invalid-perms.txt").metadata().unwrap();
|
||||
at.make_file("invalid-perms.txt");
|
||||
set_permissions(at.plus("invalid-perms.txt"), permissions).unwrap();
|
||||
ucmd.arg("invalid-perms.txt").fails();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue