commit | 24e79e5bb8b794d96dc30a5bfada8a7227fdb73b | [log] [tgz] |
---|---|---|
author | pingping-lin <pingping@onlab.us> | Wed Jan 21 11:39:51 2015 -0800 |
committer | pingping-lin <pingping@onlab.us> | Wed Jan 21 11:39:51 2015 -0800 |
tree | 34e1da905e3cba5bef8b7c47446b7ad169cb77ac | |
parent | 986e4f3c984309bb4dd12a71a125ec95c301395d [diff] |
add more case to handle for the expect
diff --git a/TestON/drivers/common/clidriver.py b/TestON/drivers/common/clidriver.py index 55ff522..c3ab968 100644 --- a/TestON/drivers/common/clidriver.py +++ b/TestON/drivers/common/clidriver.py
@@ -81,7 +81,7 @@ while i == 5: i = self.handle.expect( [ ssh_newkey, - 'password:', + 'password:|\$', pexpect.EOF, pexpect.TIMEOUT, refused,