Project

General

Profile

Actions

Bug #4092

open

suricata-verify: --debug-failed does not work with --fail

Added by Jason Ish about 4 years ago. Updated over 2 years ago.

Status:
Assigned
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:
Python

Description

--fail is an option to stop executing tests after the first failure. However, it exits the process before --debug-failed can do its thing. Instead of exiting the process, --fail should probably just cause the test loop to exit, so --debug-failed can do its thing.

Example command to see no --debug-failed output:

python3 ../../suricata-verify/run.py --force --debug-failed --fail erspan

Instead we should see some debug-failed output like you get with:

python3 ../../suricata-verify/run.py --force --debug-failed erspan

Actions

Also available in: Atom PDF