Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
louismerlin committed Nov 5, 2024
1 parent 7b10a75 commit f68bed2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/url_fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@ fn integration() {
.join("logs")
.join("minimization_afl.log")
.is_file());

// cargo ziggy minimize -e honggfuzz
let minimization = process::Command::new(&cargo_ziggy)
.arg("ziggy")
.arg("minimize")
.arg("-ehonggfuzz")
.env("ZIGGY_OUTPUT", format!("{}", temp_dir_path.display()))
.current_dir(&fuzzer_directory)
.status()
.expect("failed to run `cargo ziggy minimize`");

assert!(minimization.success());
assert!(temp_dir_path
.join("url-fuzz")
.join("logs")
Expand Down

0 comments on commit f68bed2

Please sign in to comment.