diff --git a/lib/core/testing.py b/lib/core/testing.py index 4495edf0e..3937c40d5 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -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() diff --git a/xml/livetests.xml b/xml/livetests.xml index ae6136720..8737dc30a 100644 --- a/xml/livetests.xml +++ b/xml/livetests.xml @@ -7,7 +7,7 @@ - + @@ -186,21 +186,13 @@ - - + - - - - - - - @@ -749,4 +741,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +