77 Commits
Author SHA1 Message Date
Daniel HofstetterandSylvestre Ledru b6e4c455ec fuzz: adapt to changes in rand 2026-04-12 13:29:12 +02:00
oech3andDaniel Hofstetter c0d4cd08eb fuzz: fix clippy::collapsible_if 2026-04-12 13:04:58 +02:00
xtqqczzeandGitHub f00a050106 clippy: fix nightly lints (#11232) 2026-03-08 09:13:23 +01:00
xtqqczzeandGitHub 5d505ca6b9 chore: use consistent copyright header in .rs files (#11020) 2026-02-19 07:33:28 +01:00
Dorian Peron ade6e8c632 Remove mentions to hashsum 2026-01-31 14:37:33 +01:00
Christopher Dryden 7207e92f3b fuzz_date: skip combined short options like -Rf- that read from stdin 2026-01-28 21:32:32 +00:00
Daniel HofstetterandGitHub 61dd826a19 Merge pull request #10289 from sylvestre/dirname-fuzz
dirname: add fuzzer to test GNU compatibility
2026-01-25 16:28:01 +01:00
xtqqczzeandGitHub 938039e9ac fuzz: add cargo clippy check for fuzz directory (#10466) 2026-01-24 19:34:35 +01:00
Sylvestre Ledru 7c5383dd89 dirname: add fuzzer to test GNU compatibility 2026-01-18 21:12:55 +01:00
Sylvestre Ledru fb5b5f4849 date: improve the date fuzzer 2025-12-22 14:14:09 +01:00
Sylvestre Ledru 58266a890a date: handle the empty arguments 2025-12-22 14:14:09 +01:00
Sylvestre Ledru 98224ed0cf Finalize the fuzzer 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 373aafc5ff Fix ptx to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 9f0447cbe9 Add non-UTF-8 filename support to tee and improve fuzzer coverage 2025-08-14 10:52:24 +02:00
Sylvestre Ledru b67d04557e fuzz: add concise logging to show which programs are being tested 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 5f575d5e5f fuzz: improve fuzzer performance and program distribution 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 581e752598 ln: fix handling of non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru c00c92ccc6 fuzz: add fuzzer to test non-UTF-8 path handling across all utilities 2025-08-14 10:52:24 +02:00
Yuri Astrakhan c433b45682 chore: convert comments to markdown docs
A lot of functions had reasonable description using `//` instead of `///`.  This PR converts them to proper markdown and fixes a few minor styling issues.
2025-07-08 23:34:16 -04:00
Sylvestre LedruandGitHub eff2cd997e Create an uufuzz crate for common functions and use it (#7954)
* uufuzz: create a crate with the common functions

* uufuzz: move the fuzz-common functions

* uufuzz: polish the crate

* adjust the fuzzer to use uufuzz
2025-05-21 09:26:59 +02:00
Ben WiederhakeandSylvestre Ledru 0011b6e3f7 run cargo fmt on missed files
It seems these files were missed by CI. Command to run cargo fmt on
absolutely *everything* (and possibly too much)

find tests -name "*.rs" -print0 | xargs -0 cargo fmt --
2025-05-19 11:17:46 +02:00
Jeremy SmartandGitHub 044b33d8cb Merge pull request #7760 from Qelxiros/7670-tail-hex-formatting
tail hex parsing, remove fundu dependency
2025-04-23 18:34:00 +02:00
Sylvestre LedruandGitHub 2103911d1a Merge pull request #7717 from drinkcat/fuzz-minor-fixes
Fuzzing: minor fixes
2025-04-09 21:13:35 -04:00
Nicolas Boichat 2caeaf511e fuzz: Run cargo clippy
Unfortunately, cargo clippy fails when testing fuzz_seq_parse_number:

```
error[E0603]: module `number` is private
  --> fuzz_targets/fuzz_seq_parse_number.rs:9:13
   |
9  | use uu_seq::number::PreciseNumber;
   |             ^^^^^^ private module
   |
note: the module `number` is defined here
  --> /home/drinkcat/dev/coreutils/coreutils/src/uu/seq/src/seq.rs:24:1
   |
24 | mod number;
   | ^^^^^^^^^^
```

But we can still fix the rest...
2025-04-09 20:58:30 +02:00
Nicolas Boichat 75072b5a98 fuzz: Run cargo fmt 2025-04-09 08:55:32 +02:00