slight improvement of live test engine and added misc test cases to xml

This commit is contained in:
Bernardo Damele
2012-12-19 17:28:41 +00:00
parent 3061eec7d8
commit 357da43cea
2 changed files with 73 additions and 11 deletions

View File

@@ -191,6 +191,7 @@ def initCase(switches=None):
logger.debug("using output directory '%s' for this test case" % paths.SQLMAP_OUTPUT_PATH)
LOGGER_HANDLER.stream = sys.stdout = StringIO.StringIO()
cmdLineOptions = cmdLineParser()
cmdLineOptions.liveTest = cmdLineOptions.smokeTest = False
@@ -209,11 +210,11 @@ def runCase(switches=None, parse=None):
initCase(switches)
LOGGER_HANDLER.stream = sys.stdout = StringIO.StringIO()
retVal = True
exception = None
result = False
console = ""
LOGGER_HANDLER.stream = sys.stdout = StringIO.StringIO()
try:
result = start()