diff options
Diffstat (limited to 'cpp/test/Ice/locationForward/run.py')
-rwxr-xr-x | cpp/test/Ice/locationForward/run.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/locationForward/run.py b/cpp/test/Ice/locationForward/run.py index 5ccd6b17252..6b4664bbfdd 100755 --- a/cpp/test/Ice/locationForward/run.py +++ b/cpp/test/Ice/locationForward/run.py @@ -61,4 +61,13 @@ while 1: break; print output, +clientStatus = clientPipe.close() +serverStatus = None +for i in range(0, num): + serverStatus = serverStatus or serverPipes[i].close() + +if clientStatus or serverStatus: + TestUtil.killServers() + sys.exit(1) + sys.exit(0) |