From e4be141602bba43b9105ef3c3dc64ae3fed57794 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 18 Jun 2011 11:26:17 +0000 Subject: [PATCH] minor fix for --smoke-test --- lib/core/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/testing.py b/lib/core/testing.py index 066aa183e..14432ec3e 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -59,7 +59,7 @@ def smokeTest(): except Exception, msg: retVal = False dataToStdout("\r") - errMsg = "smoke test failed at importing module '%s' (%s):\n%s" % (path, os.path.join(paths.SQLMAP_ROOT_PATH, ifile), msg) + errMsg = "smoke test failed at importing module '%s' (%s):\n%s" % (path, os.path.join(root, ifile), msg) logger.error(errMsg) else: # Run doc tests