mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #6017 from BenWiederhake/dev-uniq-flake-stdin-write-gnutest
uniq: Fix flaky test gnu_tests
This commit is contained in:
commit
d8e6f36fcb
1 changed files with 2 additions and 2 deletions
|
@ -755,7 +755,7 @@ fn gnu_tests() {
|
||||||
TestCase {
|
TestCase {
|
||||||
name: "112",
|
name: "112",
|
||||||
args: &["-D", "-c"],
|
args: &["-D", "-c"],
|
||||||
input: "a a\na b\n",
|
input: "", // Note: Different from GNU test, but should not matter
|
||||||
stdout: Some(""),
|
stdout: Some(""),
|
||||||
stderr: Some("uniq: printing all duplicated lines and repeat counts is meaningless\nTry 'uniq --help' for more information.\n"),
|
stderr: Some("uniq: printing all duplicated lines and repeat counts is meaningless\nTry 'uniq --help' for more information.\n"),
|
||||||
exit: Some(1),
|
exit: Some(1),
|
||||||
|
@ -811,7 +811,7 @@ fn gnu_tests() {
|
||||||
TestCase {
|
TestCase {
|
||||||
name: "119",
|
name: "119",
|
||||||
args: &["--all-repeated=badoption"],
|
args: &["--all-repeated=badoption"],
|
||||||
input: "a a\na b\n",
|
input: "", // Note: Different from GNU test, but should not matter
|
||||||
stdout: Some(""),
|
stdout: Some(""),
|
||||||
stderr: Some("uniq: invalid argument 'badoption' for '--all-repeated'\nValid arguments are:\n - 'none'\n - 'prepend'\n - 'separate'\nTry 'uniq --help' for more information.\n"),
|
stderr: Some("uniq: invalid argument 'badoption' for '--all-repeated'\nValid arguments are:\n - 'none'\n - 'prepend'\n - 'separate'\nTry 'uniq --help' for more information.\n"),
|
||||||
exit: Some(1),
|
exit: Some(1),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue