Add new fuzzers: cut, sort, split and wc #5760
Merged
cakebaker merged 13 commits intouutils:mainfrom Jan 4, 2024
sylvestre:more-fuzzers
Merged
Add new fuzzers: cut, sort, split and wc #5760cakebaker merged 13 commits intouutils:mainfrom sylvestre:more-fuzzers
cakebaker merged 13 commits intouutils:mainfrom
sylvestre:more-fuzzers
Conversation
Contributor
|
Needs a rebase. |
|
GNU testsuite comparison: |
cakebaker
reviewed
Jan 3, 2024
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
cakebaker
reviewed
Jan 3, 2024
cakebaker
reviewed
Jan 3, 2024
| match rng.gen_range(0..=5) { | ||
| 0 => args.push(String::from("-c")), | ||
| 1 => args.push(String::from("-m")), | ||
| // TODO |
Contributor
There was a problem hiding this comment.
What's the reason for not adding the other args?
cakebaker
reviewed
Jan 3, 2024
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
|
GNU testsuite comparison: |
cakebaker
reviewed
Jan 4, 2024
cakebaker
reviewed
Jan 4, 2024
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
cakebaker
reviewed
Jan 4, 2024
cakebaker
reviewed
Jan 4, 2024
| match rng.gen_range(0..=4) { | ||
| 0 => args.push(String::from("-b") + &rng.gen_range(1..=10).to_string()), | ||
| 1 => args.push(String::from("-c") + &rng.gen_range(1..=10).to_string()), | ||
| 2 => args.push(String::from("-d,") + &generate_random_string(1)), // Using a comma as a default delimiter |
Contributor
There was a problem hiding this comment.
Is it the intended behavior that the delimiter is always invalid?
cakebaker
reviewed
Jan 4, 2024
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
|
GNU testsuite comparison: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
to merge after
#5758