1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00
Commit graph

19 commits

Author SHA1 Message Date
Sylvestre Ledru
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 Wiederhake
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
Sylvestre Ledru
2103911d1a
Merge pull request #7717 from drinkcat/fuzz-minor-fixes
Fuzzing: minor fixes
2025-04-09 21:13:35 -04:00
Nicolas Boichat
75072b5a98 fuzz: Run cargo fmt 2025-04-09 08:55:32 +02:00
Yuri Astrakhan
982805d3cd chore: manual inline formatting
Minor manual cleanup - inlined many format args.  This makes the code a bit more readable, and helps spot a few inefficiencies and possible bugs.  Note that `&foo` in a `format!` parameter results in a 6% extra performance cost, and does not get inlined by the compiler (yet).
2025-04-08 00:23:21 -04:00
Daniel Hofstetter
41f1c6b2da fuzz: use new "<"/">" operators in fuzz_test 2025-02-21 14:58:54 +01:00
Daniel Hofstetter
9aec9dc454 fuzz: adapt to API changes of rand 2025-01-30 14:41:36 +01:00
Sylvestre Ledru
08f324bf40 Silent some clippy warnings 2024-04-01 01:06:17 +02:00
Sylvestre Ledru
546201bd00
fuzz: add the capability to pipe info into fuzz (#5668)
* fuzz: add the capability to pipe info into fuzz

* address the comments

* show the piped message if any
2023-12-21 16:18:00 +01:00
Sylvestre Ledru
b2e26f2aec fuzz: Simplify the compare_result function 2023-12-17 17:57:21 +01:00
Sylvestre Ledru
fddf301a52 fuzz: Move a duplicate function into fuzz_common 2023-11-12 10:25:55 +01:00
Sylvestre Ledru
2746c199cf use a command result structure 2023-11-10 16:01:38 +01:00
Sylvestre Ledru
104e707b07 fuzzing: provide a better error management 2023-11-09 17:40:27 +01:00
Sylvestre Ledru
8ab20c4673 fuzz: adjust the fuzzers with the new arg 2023-11-09 10:54:41 +01:00
Sylvestre Ledru
a576054d42 fuzz: fix clippy warnings 2023-09-28 21:52:26 +02:00
Sylvestre Ledru
e6f9e358d4 fuzz: create a function run_gnu_cmd to deduplicate the code 2023-09-28 21:48:34 +02:00
Sylvestre Ledru
a17ede9ef0
Remove the full path to test 2023-09-28 15:36:06 +02:00
Sylvestre Ledru
f0f64bd3b7 fuzz: move the common duplicated code into a function 2023-09-28 08:42:30 +02:00
Sylvestre Ledru
57a2a8323c fuzz the test command 2023-08-21 09:09:09 +02:00