commit | 1ae2c3663ad8152c3d2d72c2146f8c41e7147845 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Fri Jan 28 19:39:06 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Fri Jan 28 19:39:06 2011 +0000 |
tree | e1fe70312e0810cb314277289402103cb0869b5f | |
parent | 30e40931d2f7177be7d233cd06ed190bda889935 [diff] |
The restoring of sys.stdout should happen right after: self.runCmd("script my.date()") In case the self.expect() fails, the restore would not be executed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124500 91177308-0d34-0410-b5e6-96231b3b80d8