Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4be141

Browse files
committed
minor fix for --smoke-test
1 parent c7e1aee commit e4be141

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def smokeTest():
5959
except Exception, msg:
6060
retVal = False
6161
dataToStdout("\r")
62-
errMsg = "smoke test failed at importing module '%s' (%s):\n%s" % (path, os.path.join(paths.SQLMAP_ROOT_PATH, ifile), msg)
62+
errMsg = "smoke test failed at importing module '%s' (%s):\n%s" % (path, os.path.join(root, ifile), msg)
6363
logger.error(errMsg)
6464
else:
6565
# Run doc tests

0 commit comments

Comments
 (0)