mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
l10n: port pwd for translation + add french
This commit is contained in:
parent
4128efad0f
commit
e4698255f2
4 changed files with 27 additions and 9 deletions
|
@ -38,7 +38,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; LANG=C exec '{}' {}",
|
||||
at.root_dir_resolved(),
|
||||
ts.bin_path.to_str().unwrap(),
|
||||
ts.util_name,
|
||||
|
@ -48,8 +48,8 @@ fn test_deleted_dir() {
|
|||
assert!(!output.status.success());
|
||||
assert!(output.stdout.is_empty());
|
||||
assert_eq!(
|
||||
output.stderr,
|
||||
b"pwd: failed to get current directory: No such file or directory\n"
|
||||
String::from_utf8_lossy(&output.stderr),
|
||||
"pwd: failed to get current directory: No such file or directory\n"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue