Commit graph

17 commits

Author SHA1 Message Date
Sylvestre Ledru
8493800d4f
fuzzing: print the diff in case of issue (#5866)
* fuzzing: print the diff in case of issue

* Simplify the code

* fuzz: remove unused import similar::ChangeTag

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-22 08:06:13 +01:00
Sylvestre Ledru
19e1f26e3d fuzz: with pipe, also capture stderr 2024-01-13 14:08:48 +01:00
Samuel Tardieu
4343ba6695 fuzz: fix file descriptor leak 2024-01-05 11:04:16 +01:00
Samuel Tardieu
c23dbd3166 fuzz: reset the exit code global variable after every test 2024-01-04 19:07:24 +01:00
Sylvestre Ledru
cdd3492532 fuzz: use thread to bypass the limitation of output
Closes: #5724

many thanks to @samueltardieu
2024-01-01 13:26:56 +01: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
064ad7200c fuzzing function should also return stderr 2023-11-09 10:54:41 +01:00
Sylvestre Ledru
5fed5443e4 fuzz: flush after calling uumain - was failing with printf 2023-11-09 10:54:41 +01:00
Sylvestre Ledru
2e0e88c3ac fuzz: verify the various steps when opening/closing fd 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
f0f64bd3b7 fuzz: move the common duplicated code into a function 2023-09-28 08:42:30 +02:00
Sylvestre Ledru
ec7ced2518 Fuzz the expr command 2023-09-24 18:47:15 +02:00