summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/fileLock/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceUtil/fileLock/run.py')
-rwxr-xr-xcpp/test/IceUtil/fileLock/run.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/test/IceUtil/fileLock/run.py b/cpp/test/IceUtil/fileLock/run.py
index 67cf14acc21..55bda695b9c 100755
--- a/cpp/test/IceUtil/fileLock/run.py
+++ b/cpp/test/IceUtil/fileLock/run.py
@@ -36,11 +36,12 @@ assert(os.path.exists("file.lock"));
clientFailExe = TestUtil.startClient(clientFail, "", None, None, False)
clientFailExe.expect('File lock not acquired.')
+clientFailExe.waitTestSuccess()
# send some output to client to terminate it.
clientExe.sendline('go')
clientExe.expect('File lock released.')
-
+clientExe.waitTestSuccess()
#
# Ensure that the file lock was removed.
#
@@ -51,5 +52,5 @@ clientExe = TestUtil.startClient(client, "", None, None, False)
clientExe.expect('File lock acquired.\.*')
clientExe.sendline('go')
clientExe.expect('File lock released.')
-
+clientExe.waitTestSuccess()
print "ok" \ No newline at end of file