Some testing stuff

This commit is contained in:
Miroslav Stampar
2020-01-07 23:49:45 +01:00
parent 57f17794c4
commit 0e9dd9b0be
6 changed files with 66 additions and 135 deletions

View File

@@ -173,6 +173,9 @@ def main():
elif conf.vulnTest:
from lib.core.testing import vulnTest
os._exitcode = 1 - (vulnTest() or 0)
elif conf.fuzzTest:
from lib.core.testing import fuzzTest
fuzzTest()
else:
from lib.controller.controller import start
if conf.profile and six.PY2: