summaryrefslogtreecommitdiff
path: root/cpp/test/FreezeScript/evictor/run.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-11-26 23:24:04 +0100
committerJose <jose@zeroc.com>2009-11-26 23:24:04 +0100
commitcd2034a7bd10e15544479e40afc239b085070f46 (patch)
treebc5580709b76b15e55482316c2ed5f0df1375a84 /cpp/test/FreezeScript/evictor/run.py
parent4385 - new StreamApi & UserExecption (diff)
downloadice-cd2034a7bd10e15544479e40afc239b085070f46.tar.bz2
ice-cd2034a7bd10e15544479e40afc239b085070f46.tar.xz
ice-cd2034a7bd10e15544479e40afc239b085070f46.zip
4279 - alllTest.py fails to run if source path contains white spaces.
Diffstat (limited to 'cpp/test/FreezeScript/evictor/run.py')
-rwxr-xr-xcpp/test/FreezeScript/evictor/run.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/FreezeScript/evictor/run.py b/cpp/test/FreezeScript/evictor/run.py
index a4fa6c49e2a..fea87955568 100755
--- a/cpp/test/FreezeScript/evictor/run.py
+++ b/cpp/test/FreezeScript/evictor/run.py
@@ -41,7 +41,7 @@ os.mkdir(tmp_dbdir)
print "creating test database...",
sys.stdout.flush()
-makedb = os.path.join(os.getcwd(), "makedb") + " " + os.getcwd()
+makedb = '"%s" "%s"' % (os.path.join(os.getcwd(), "makedb"), os.getcwd())
proc = TestUtil.spawn(makedb)
proc.waitTestSuccess()
print "ok"
@@ -54,8 +54,8 @@ checkxml = os.path.join(os.getcwd(), "check.xml")
print "executing evictor transformations...",
sys.stdout.flush()
-command = transformdb + " -e -p --old " + testold + " --new " + testnew + " -f " + transformxml + " " + dbdir + \
- " evictor.db " + check_dbdir
+command = '"' + transformdb + '" -e -p --old "' + testold + '" --new "' + testnew + '" -f "' + transformxml + '" "' + dbdir + \
+ '" evictor.db "' + check_dbdir + '" '
proc = TestUtil.spawn(command)
proc.waitTestSuccess()
print "ok"
@@ -63,8 +63,8 @@ print "ok"
print "validating database...",
sys.stdout.flush()
-command = transformdb + " -e --old " + testnew + " --new " + testnew + " -f " + checkxml + " " + check_dbdir + \
- " evictor.db " + tmp_dbdir
+command = '"' + transformdb + '" -e --old "' + testnew + '" --new "' + testnew + '" -f "' + checkxml + '" "' + check_dbdir + \
+ '" evictor.db "' + tmp_dbdir + '"'
proc = TestUtil.spawn(command)
proc.waitTestSuccess()
print "ok"