Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
louismerlin committed Oct 16, 2023
1 parent de23f2f commit 4af4de2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/bin/cargo-ziggy/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub struct Fuzz {
no_afl: bool,

/// No LibAFL
#[clap(long = "no-afl", action)]
#[clap(long = "no-libafl", action)]
no_libafl: bool,

/// No honggfuzz
Expand Down
4 changes: 2 additions & 2 deletions tests/arbitrary_fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ fn integration() {

assert!(build_status.success(), "`cargo ziggy build` failed");

// cargo ziggy fuzz -j 2 -t 5 -o temp_dir
// cargo ziggy fuzz -j 3 -t 5 -o temp_dir
let fuzzer = process::Command::new(cargo_ziggy)
.arg("ziggy")
.arg("fuzz")
.arg("-j2")
.arg("-j3")
.arg("-t5")
.arg("-G100")
.env("ZIGGY_OUTPUT", format!("{}", temp_dir_path.display()))
Expand Down
8 changes: 4 additions & 4 deletions tests/url_fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ fn integration() {

assert!(build_status.success(), "`cargo ziggy build` failed");

// cargo ziggy fuzz -j 2 -t 5
// cargo ziggy fuzz -j 3 -t 5
let fuzzer = process::Command::new(&cargo_ziggy)
.arg("ziggy")
.arg("fuzz")
.arg("-j2")
.arg("-j3")
.arg("-t5")
.arg("-G100")
.env("ZIGGY_OUTPUT", format!("{}", temp_dir_path.display()))
Expand All @@ -86,11 +86,11 @@ fn integration() {
.is_dir());

// We resume fuzzing
// cargo ziggy fuzz -j 2 -t 5
// cargo ziggy fuzz -j 3 -t 5
let fuzzer = process::Command::new(&cargo_ziggy)
.arg("ziggy")
.arg("fuzz")
.arg("-j2")
.arg("-j3")
.arg("-t5")
.arg("-G100")
.env("ZIGGY_OUTPUT", format!("{}", temp_dir_path.display()))
Expand Down

0 comments on commit 4af4de2

Please sign in to comment.