diff options
author | Jose <jose@zeroc.com> | 2009-11-26 23:24:04 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-11-26 23:24:04 +0100 |
commit | cd2034a7bd10e15544479e40afc239b085070f46 (patch) | |
tree | bc5580709b76b15e55482316c2ed5f0df1375a84 /cpp/test/FreezeScript/evictor/run.py | |
parent | 4385 - new StreamApi & UserExecption (diff) | |
download | ice-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-x | cpp/test/FreezeScript/evictor/run.py | 10 |
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" |