summaryrefslogtreecommitdiff
path: root/java/test/IceUtil/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/IceUtil/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/IceUtil/fileLock/run.py')
-rwxr-xr-xjava/test/IceUtil/fileLock/run.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/test/IceUtil/fileLock/run.py b/java/test/IceUtil/fileLock/run.py
index 815317df878..63b5d258a00 100755
--- a/java/test/IceUtil/fileLock/run.py
+++ b/java/test/IceUtil/fileLock/run.py
@@ -37,10 +37,12 @@ assert(os.path.exists("file.lock"));
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()
#
# Ensure that the file lock was removed.
@@ -52,6 +54,7 @@ clientExe = TestUtil.startClient(client, "", None, None, False)
clientExe.expect('File lock acquired.\.*')
clientExe.sendline('go')
clientExe.expect('File lock released.')
+clientExe.wait()
print "ok"