]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
run.py: fix version comparison checks
authorShivani Bhardwaj <shivanib134@gmail.com>
Mon, 30 Jan 2023 12:24:20 +0000 (17:54 +0530)
committerVictor Julien <victor@inliniac.net>
Tue, 31 Jan 2023 05:34:46 +0000 (06:34 +0100)
commit579814085904075b95865d33bd376cb0426c137c
tree2ebb2320d513b0b68cf40b1fa2487391cc2a599e
parent5f980473fa0cfcca7d4f49d0257e2bbcbe9d9030
run.py: fix version comparison checks

If no minor or patch version was provided, it was set to 0 hence passing
the check for "not None". Fix that by setting the defaults to None
instead for 0 for the equal to check.
run.py
tests/smb2-07/test.yaml
tests/smtp-eve/test.yaml