diff options
author | Marc Laukien <marc@zeroc.com> | 2004-02-19 15:44:19 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-02-19 15:44:19 +0000 |
commit | bbb4d6b1e414753c4f2e85f251b8c4749c1010a5 (patch) | |
tree | 2b4e52e3a7026486a3c0a3af1edd17ff287d4e69 /cpp/config/TestUtil.py | |
parent | fix (diff) | |
download | ice-bbb4d6b1e414753c4f2e85f251b8c4749c1010a5.tar.bz2 ice-bbb4d6b1e414753c4f2e85f251b8c4749c1010a5.tar.xz ice-bbb4d6b1e414753c4f2e85f251b8c4749c1010a5.zip |
fix
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r-- | cpp/config/TestUtil.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py index 9f328e265de..82690cc04f1 100644 --- a/cpp/config/TestUtil.py +++ b/cpp/config/TestUtil.py @@ -114,18 +114,18 @@ def killServers(): def getServerPid(serverPipe): - output = serverPipe.readline().strip() + output = serverPipe.readline() if not output: print "failed!" killServers() sys.exit(1) - serverPids.append(int(output)) + serverPids.append(int(output.strip())) def getAdapterReady(serverPipe): - output = serverPipe.readline().strip() + output = serverPipe.readline() if not output: print "failed!" @@ -136,13 +136,13 @@ def waitServiceReady(pipe, token): while 1: - output = pipe.readline().strip() + output = pipe.readline() if not output: print "failed!" sys.exit(1) - if output == token + " ready": + if output.strip() == token + " ready": break def printOutputFromPipe(pipe): |