diff options
author | Matthew Newhook <matthew@zeroc.com> | 2008-03-03 18:07:19 +0800 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2008-03-03 18:07:19 +0800 |
commit | fff0e2e88bec978b2be8dad3c7d534edfc2f549b (patch) | |
tree | 5f09561ea40b48da9c318ffff215ef05eec580ff /demoscript/Util.py | |
parent | Fix expect scripts for HA IceStorm. Clean up READMEs. (diff) | |
download | ice-fff0e2e88bec978b2be8dad3c7d534edfc2f549b.tar.bz2 ice-fff0e2e88bec978b2be8dad3c7d534edfc2f549b.tar.xz ice-fff0e2e88bec978b2be8dad3c7d534edfc2f549b.zip |
Fixes to the Freeze/casino, IceGrid/simple and book/freeze_filesystem expect scripts.
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r-- | demoscript/Util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py index 59960e51ca4..af79438a32c 100644 --- a/demoscript/Util.py +++ b/demoscript/Util.py @@ -128,6 +128,8 @@ class spawn(pexpect.spawn): if self.expectFirst and timeout == defaultTimeout: timeout = initialTimeout self.expectFirst = False + if trace: + print "(expect: %s timeout=%d)" % (pattern, defaultTimeout) return pexpect.spawn.expect(self, pattern, timeout, searchwindowsize) def wait(self): |