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

tests/mkdir: reduced tested permission combinations

tests/pwd: escapted directory paths
This commit is contained in:
Pyokyeong Son 2022-03-31 15:50:52 +09:00
parent 200adc98e1
commit 9a76f3ba31
2 changed files with 4 additions and 5 deletions

View file

@ -26,7 +26,7 @@ fn test_deleted_dir() {
let output = Command::new("sh")
.arg("-c")
.arg(format!(
"cd '{}'; mkdir foo; cd foo; rmdir ../foo; exec {} {}",
"cd '{}'; mkdir foo; cd foo; rmdir ../foo; exec '{}' {}",
at.root_dir_resolved(),
ts.bin_path.to_str().unwrap(),
ts.util_name,