| Index: chrome/test/functional/secure_shell.py
|
| diff --git a/chrome/test/functional/secure_shell.py b/chrome/test/functional/secure_shell.py
|
| index 043c910ba2818d4f9e7e7fedf9b2051fa39c7ec9..d9e59a604a37cb84465ba5b9b3e60f7321d51262 100755
|
| --- a/chrome/test/functional/secure_shell.py
|
| +++ b/chrome/test/functional/secure_shell.py
|
| @@ -98,7 +98,10 @@ class SecureShellTest(pyauto.PyUITest):
|
|
|
| # Type 'exit' and close the tab
|
| self.SendKeysToHterm('exit\\n', tab_index=1)
|
| - self.WaitForHtermText('exited with status code 0', tab_index=1,
|
| + # Check for only 'code 0' since that is what indicates that we exited
|
| + # successfully. Checking for more stringage causes flakes since the exit
|
| + # string does change at times.
|
| + self.WaitForHtermText('code 0', tab_index=1,
|
| msg='Did not get correct exit message')
|
|
|
|
|
|
|