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

fix: address test failures

This commit is contained in:
Orhun Parmaksız 2022-11-04 13:35:54 +03:00
parent f2f2f7033e
commit be49eb68f3
No known key found for this signature in database
GPG key ID: F83424824B3E4B90
2 changed files with 11 additions and 4 deletions

View file

@ -64,9 +64,9 @@ fn test_sync_no_permission_dir() {
ts.ccmd("chmod").arg("0").arg(dir).succeeds();
let result = ts.ucmd().arg("--data").arg(dir).fails();
result.stderr_contains("sync: error opening 'foo': Permission denied");
result.stderr_contains("sync: cannot stat 'foo': Permission denied");
let result = ts.ucmd().arg(dir).fails();
result.stderr_contains("sync: error opening 'foo': Permission denied");
result.stderr_contains("sync: cannot stat 'foo': Permission denied");
}
#[cfg(not(target_os = "windows"))]