summaryrefslogtreecommitdiff
path: root/java/test/Freeze/fileLock/run.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-12-12 08:00:34 +0100
committerJose <jose@zeroc.com>2009-12-12 08:00:34 +0100
commit55d77dec88404da393326570bb39cdde0cd743c2 (patch)
tree42c57d5f9f470e07233d6bae46750ccd0e39bfb9 /java/test/Freeze/fileLock/run.py
parent4471 read(std::vector<bool>) in Stream. (diff)
downloadice-55d77dec88404da393326570bb39cdde0cd743c2.tar.bz2
ice-55d77dec88404da393326570bb39cdde0cd743c2.tar.xz
ice-55d77dec88404da393326570bb39cdde0cd743c2.zip
Minor fixes to several test scripts.
Diffstat (limited to 'java/test/Freeze/fileLock/run.py')
-rwxr-xr-xjava/test/Freeze/fileLock/run.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/test/Freeze/fileLock/run.py b/java/test/Freeze/fileLock/run.py
index 532c2b3eb68..e5b53b4f892 100755
--- a/java/test/Freeze/fileLock/run.py
+++ b/java/test/Freeze/fileLock/run.py
@@ -34,15 +34,17 @@ clientExe.expect('File lock acquired.\.*')
clientFailExe = TestUtil.startClient(clientFail, "", None, None, False)
clientFailExe.expect('File lock not acquired.')
+clientFailExe.wait()
# send some output to client to terminate it.
clientExe.sendline('go')
clientExe.expect('File lock released.')
+clientExe.wait()
# The lock is gone try to acquire it again.
clientExe = TestUtil.startClient(client, "", None, None, False)
clientExe.expect('File lock acquired.\.*')
clientExe.sendline('go')
clientExe.expect('File lock released.')
-
+clientExe.wait()
print "ok"