summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-10-03 14:28:20 +0200
committerBenoit Foucher <benoit@zeroc.com>2016-10-03 14:28:20 +0200
commitb6ac21341d634801fc90a994fe3b385c4d1d090f (patch)
tree9363151beb0c461e206bdd85d92eb3de59fb8ab4 /scripts/TestUtil.py
parentFixes to makecerts.py and instructions (diff)
downloadice-b6ac21341d634801fc90a994fe3b385c4d1d090f.tar.bz2
ice-b6ac21341d634801fc90a994fe3b385c4d1d090f.tar.xz
ice-b6ac21341d634801fc90a994fe3b385c4d1d090f.zip
Fix for 7406 and issue with space in path passed to icehashpassword.py
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 1f58b90c991..6f68bcca00c 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -879,7 +879,8 @@ def hashPasswords(filePath, entries):
os.remove(filePath)
passwords = open(filePath, "a")
- command = "%s %s" % (sys.executable, os.path.abspath(os.path.join(os.path.dirname(__file__), "icehashpassword.py")))
+ command = '%s "%s"' % (sys.executable,
+ os.path.abspath(os.path.join(os.path.dirname(__file__), "icehashpassword.py")))
#
# For Linux ARM default rounds makes test slower (Usually runs on embbeded boards)