diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-27 12:18:17 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-27 12:18:17 +0000 |
commit | 6c949025e46ac1f54c11479bdf483acb38b93c04 (patch) | |
tree | 139f3be65f78b51a7c00a933ae4272513f0bab84 /cpp/test/Freeze/cursor/run.py | |
parent | Renaming Ice.Trace.Security to IceSSL.Trace.Security Cleaning up IceSSL (diff) | |
download | ice-6c949025e46ac1f54c11479bdf483acb38b93c04.tar.bz2 ice-6c949025e46ac1f54c11479bdf483acb38b93c04.tar.xz ice-6c949025e46ac1f54c11479bdf483acb38b93c04.zip |
python test scripts cleanup
Diffstat (limited to 'cpp/test/Freeze/cursor/run.py')
-rwxr-xr-x | cpp/test/Freeze/cursor/run.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/test/Freeze/cursor/run.py b/cpp/test/Freeze/cursor/run.py index 4be3945d562..6f4e640f7f9 100755 --- a/cpp/test/Freeze/cursor/run.py +++ b/cpp/test/Freeze/cursor/run.py @@ -32,12 +32,10 @@ clientOptions = ' ' + testdir; print "starting client...", clientPipe = os.popen(client + clientOptions) -output = clientPipe.read().strip() -if not output: - print "failed!" - sys.exit(1) print "ok" -print output + +for output in clientPipe.xreadlines(): + print output, clientStatus = clientPipe.close() |