mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +00:00
Merge pull request #6795 from andrewliebenow/fuzz-compare-against-lc-all-c
fuzz: run GNU Core Utilities with LC_ALL=C
This commit is contained in:
commit
7589db53c1
1 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,10 @@ pub fn run_gnu_cmd(
|
|||
command.arg(arg);
|
||||
}
|
||||
|
||||
// See https://github.com/uutils/coreutils/issues/6794
|
||||
// uutils' coreutils is not locale-aware, and aims to mirror/be compatible with GNU Core Utilities's LC_ALL=C behavior
|
||||
command.env("LC_ALL", "C");
|
||||
|
||||
let output = if let Some(input_str) = pipe_input {
|
||||
// We have an pipe input
|
||||
command
|
||||
|
|
Loading…
Reference in a new issue