Skip to content

Commit

Permalink
Add special case for afl-addseeds's --help flag
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Nov 10, 2023
1 parent 4bd416f commit 68901af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cargo-afl/src/bin/cargo-afl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,8 @@ mod tests {

for &subcommand in SUBCOMMANDS {
let output = cargo_afl(&[subcommand, "--help"]).output().unwrap();
// smoelius: `afl-system-config` has a `--help` flag.
if subcommand == "system-config" {
// smoelius: `afl-addseeds` and `afl-system-config` have `--help` flags.
if subcommand == "addseeds" || subcommand == "system-config" {
assert_success(&output, Some(subcommand));
} else {
assert_failure(&output, Some(subcommand));
Expand Down

0 comments on commit 68901af

Please sign in to comment.