mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07: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:
@@ -13,11 +13,8 @@ use rand::seq::IndexedRandom;
|
||||
use std::env;
|
||||
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};
|
||||
|
||||
static CMD_PATH: &str = "printf";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user