diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-02-01 21:31:28 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-02-01 21:31:28 +0000 |
commit | 388d0b7910a9560ebdbf2b4f2f911bd445d2c3a2 (patch) | |
tree | 02d31a1718d9773c1745bacc2d4fbe54167963db /cpp/test/IceUtil/thread/run.py | |
parent | Fix last fix (diff) | |
download | ice-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-x | cpp/test/IceUtil/thread/run.py | 6 |
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) |