diff options
author | Marc Laukien <marc@zeroc.com> | 2001-11-13 22:44:08 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-11-13 22:44:08 +0000 |
commit | a7de18dc90494772595514a126df49766503ca68 (patch) | |
tree | b72778f3a25de146e32d4267be28e09236e67ed2 /cpp/test/Ice/faultTolerance/run.py | |
parent | fixes (diff) | |
download | ice-a7de18dc90494772595514a126df49766503ca68.tar.bz2 ice-a7de18dc90494772595514a126df49766503ca68.tar.xz ice-a7de18dc90494772595514a126df49766503ca68.zip |
many, many fixes
Diffstat (limited to 'cpp/test/Ice/faultTolerance/run.py')
-rwxr-xr-x | cpp/test/Ice/faultTolerance/run.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cpp/test/Ice/faultTolerance/run.py b/cpp/test/Ice/faultTolerance/run.py index 1357fe35c67..b8cb736ed6a 100755 --- a/cpp/test/Ice/faultTolerance/run.py +++ b/cpp/test/Ice/faultTolerance/run.py @@ -27,9 +27,10 @@ client = os.path.normpath(testdir + "/client") num = 8 base = 12340 +updatedServerOptions = TestUtil.serverOptions.replace("TOPLEVELDIR", toplevel) +updatedClientOptions = TestUtil.clientOptions.replace("TOPLEVELDIR", toplevel) + serverPipes = { } -updatedServerOptions = TestUtil.serverOptions -updatedServerOptions = updatedServerOptions.replace("TOPLEVELDIR", toplevel) for i in range(0, num): print "starting server #%d..." % (i + 1), serverPipes[i] = os.popen(server + updatedServerOptions + " %d" % (base + i)) @@ -37,14 +38,11 @@ for i in range(0, num): TestUtil.getAdapterReady(serverPipes[i]) print "ok" -updatedClientOptions = TestUtil.clientOptions -updatedClientOptions = updatedClientOptions.replace("TOPLEVELDIR", toplevel) - ports = "" for i in range(0, num): ports = "%s %d" % (ports, base + i) print "starting client...", -clientPipe = os.popen(client + " " + updatedClientOptions + " " + ports) +clientPipe = os.popen(client + updatedClientOptions + " " + ports) output = clientPipe.readline() if not output: print "failed!" |