1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

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
This commit is contained in:
Sylvestre Ledru 2025-05-21 09:26:59 +02:00 committed by GitHub
parent a9e259369b
commit eff2cd997e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 62 additions and 57 deletions

View file

@ -12,11 +12,8 @@ use rand::Rng;
use rand::prelude::IndexedRandom;
use std::ffi::OsString;
mod fuzz_common;
use crate::fuzz_common::CommandResult;
use crate::fuzz_common::{
compare_result, generate_and_run_uumain, generate_random_string, run_gnu_cmd,
};
use uufuzz::CommandResult;
use uufuzz::{compare_result, generate_and_run_uumain, generate_random_string, run_gnu_cmd};
#[allow(clippy::upper_case_acronyms)]
#[derive(PartialEq, Debug, Clone)]