diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-12-18 21:13:09 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-12-18 21:13:09 +0100 |
commit | aa6809bd9431b5cc3952d6a6e2abde76b2bf003c (patch) | |
tree | 0da37ff519b9a3b6effbd1583b61abbf6f132c2a /cpp/test/IceGrid | |
parent | http://bugzilla/bugzilla/show_bug.cgi?id=4509 - parallel build issues. (diff) | |
download | ice-aa6809bd9431b5cc3952d6a6e2abde76b2bf003c.tar.bz2 ice-aa6809bd9431b5cc3952d6a6e2abde76b2bf003c.tar.xz ice-aa6809bd9431b5cc3952d6a6e2abde76b2bf003c.zip |
Fixed bug 4511 - properties override doesn't handle quotes
Diffstat (limited to 'cpp/test/IceGrid')
-rwxr-xr-x | cpp/test/IceGrid/activation/run.py | 5 | ||||
-rwxr-xr-x | cpp/test/IceGrid/replication/run.py | 3 | ||||
-rwxr-xr-x | cpp/test/IceGrid/session/run.py | 2 | ||||
-rwxr-xr-x | cpp/test/IceGrid/update/run.py | 7 |
4 files changed, 8 insertions, 9 deletions
diff --git a/cpp/test/IceGrid/activation/run.py b/cpp/test/IceGrid/activation/run.py index de13d8e8020..2c65cf1a8aa 100755 --- a/cpp/test/IceGrid/activation/run.py +++ b/cpp/test/IceGrid/activation/run.py @@ -20,6 +20,7 @@ if len(path) == 0: sys.path.append(os.path.join(path[0])) from scripts import * -IceGridAdmin.iceGridTest("application.xml", "", - " 'properties-override=%s'" % TestUtil.getCommandLine("", TestUtil.DriverConfig("colloc")).replace("--", "")) +IceGridAdmin.iceGridTest("application.xml", + "", + "properties-override='%s'" % IceGridAdmin.iceGridNodePropertiesOverride()) diff --git a/cpp/test/IceGrid/replication/run.py b/cpp/test/IceGrid/replication/run.py index 2fef9022081..d7c1ccac6aa 100755 --- a/cpp/test/IceGrid/replication/run.py +++ b/cpp/test/IceGrid/replication/run.py @@ -26,8 +26,7 @@ if TestUtil.sqlType != None and TestUtil.sqlType != "QSQLITE": print "*** This test only supports Freeze or SQLite databases" sys.exit(0) -variables = "'properties-override=%s'" % \ - TestUtil.getCommandLine("", TestUtil.DriverConfig("server")).replace("--", "") +variables = "properties-override='%s'" % IceGridAdmin.iceGridNodePropertiesOverride() if TestUtil.sqlType != None: variables += " db-plugin=IceGridSqlDB:createSqlDB" diff --git a/cpp/test/IceGrid/session/run.py b/cpp/test/IceGrid/session/run.py index 62b7513b69f..ac8d585aac1 100755 --- a/cpp/test/IceGrid/session/run.py +++ b/cpp/test/IceGrid/session/run.py @@ -48,7 +48,7 @@ IceGridAdmin.registryOptions += \ IceGridAdmin.iceGridTest("application.xml", '--IceBinDir="%s" --TestDir="%s"' % (TestUtil.getCppBinDir(), os.getcwd()), - '\\"properties-override=%s\\"' % TestUtil.getCommandLine("", TestUtil.DriverConfig("server")).replace("--", "")) + 'properties-override=\'%s\'' % IceGridAdmin.iceGridNodePropertiesOverride()) verifierProc.waitTestSuccess() diff --git a/cpp/test/IceGrid/update/run.py b/cpp/test/IceGrid/update/run.py index 3a721ebb429..740a7c841d4 100755 --- a/cpp/test/IceGrid/update/run.py +++ b/cpp/test/IceGrid/update/run.py @@ -34,10 +34,9 @@ if not os.path.exists(node2Dir): else: IceGridAdmin.cleanDbDir(node2Dir) -nodeOverrideOptions = '--IceBinDir="%s" --TestDir="%s" --NodePropertiesOverride="%s Ice.ServerIdleTime=0 Ice.PrintProcessId=0 Ice.PrintAdapterReady=0"' % ( - TestUtil.getCppBinDir(), - os.getcwd(), - TestUtil.getCommandLine("", TestUtil.DriverConfig("server")).replace("--", "")) +nodeOverrideOptions = '--IceBinDir="%s" --TestDir="%s" ' % (TestUtil.getCppBinDir(), os.getcwd()) + \ + '--NodePropertiesOverride=\"%s Ice.ServerIdleTime=0 Ice.PrintProcessId=0 Ice.PrintAdapterReady=0\"' % \ + IceGridAdmin.iceGridNodePropertiesOverride() IceGridAdmin.iceGridTest("", nodeOverrideOptions) |