mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
test_ls: adapt to new windows permissions
This commit is contained in:
parent
86738ce6cf
commit
b3e6472d02
1 changed files with 2 additions and 2 deletions
|
@ -964,9 +964,9 @@ fn test_ls_long() {
|
|||
let result = scene.ucmd().arg(arg).arg("test-long").succeeds();
|
||||
#[cfg(not(windows))]
|
||||
result.stdout_matches(&Regex::new(r"[-bcCdDlMnpPsStTx?]([r-][w-][xt-]){3}.*").unwrap());
|
||||
|
||||
|
||||
#[cfg(windows)]
|
||||
result.stdout_contains("---------- 1 somebody somegroup");
|
||||
result.stdout_matches(&Regex::new(r"[-dl](r[w-]x){3}.*").unwrap());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue