summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/run.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-02-01 21:31:28 +0000
committerMark Spruiell <mes@zeroc.com>2006-02-01 21:31:28 +0000
commit388d0b7910a9560ebdbf2b4f2f911bd445d2c3a2 (patch)
tree02d31a1718d9773c1745bacc2d4fbe54167963db /cpp/test/IceUtil/thread/run.py
parentFix last fix (diff)
downloadice-388d0b7910a9560ebdbf2b4f2f911bd445d2c3a2.tar.bz2
ice-388d0b7910a9560ebdbf2b4f2f911bd445d2c3a2.tar.xz
ice-388d0b7910a9560ebdbf2b4f2f911bd445d2c3a2.zip
fix for CentOS waitpid bug
Diffstat (limited to 'cpp/test/IceUtil/thread/run.py')
-rwxr-xr-xcpp/test/IceUtil/thread/run.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/IceUtil/thread/run.py b/cpp/test/IceUtil/thread/run.py
index 2534fb3a615..8a4e8c094e6 100755
--- a/cpp/test/IceUtil/thread/run.py
+++ b/cpp/test/IceUtil/thread/run.py
@@ -24,15 +24,15 @@ name = os.path.join("IceUtil", "thread")
testdir = os.path.join(toplevel, "test", name)
client = os.path.join(testdir, "client")
-clientOptions = ' ' + testdir;
+clientOptions = ' ' + testdir
print "starting client...",
clientPipe = os.popen(client + clientOptions + " 2>&1")
print "ok"
-TestUtil.printOutputFromPipe(clientPipe);
+TestUtil.printOutputFromPipe(clientPipe)
-clientStatus = clientPipe.close()
+clientStatus = TestUtil.closePipe(clientPipe)
if clientStatus:
sys.exit(1)