-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new fuzzers: cut, sort, split and wc #5760
Conversation
Needs a rebase. |
GNU testsuite comparison:
|
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
match rng.gen_range(0..=5) { | ||
0 => args.push(String::from("-c")), | ||
1 => args.push(String::from("-m")), | ||
// TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for not adding the other args?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just time :)
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
GNU testsuite comparison:
|
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it the intended behavior that the delimiter is always invalid?
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
GNU testsuite comparison:
|
to merge after
#5758