suricata-verify icon indicating copy to clipboard operation
suricata-verify copied to clipboard

run.py: allow a test to require a feature not being enabled

Open jasonish opened this issue 9 months ago • 3 comments

Example:

requires:
  features:
    - -HAVE_LUA

would require that Suricata does not have Lua support.

jasonish avatar May 09 '24 22:05 jasonish

LGTM.

jlucovsky avatar May 10 '24 11:05 jlucovsky

Looks good overall. Wondering if !HAVE_LUA would work as well. Since that is such a common pattern in suri, it feels more appropriate.

victorjulien avatar May 13 '24 07:05 victorjulien

Looks good overall. Wondering if !HAVE_LUA would work as well. Since that is such a common pattern in suri, it feels more appropriate.

The double dash bugged my eyes, so +1 for !

catenacyber avatar May 14 '24 12:05 catenacyber