commit | 126282cda2046e6e3674caf5d6d6be7fb2ff7dfc | [log] [tgz] |
---|---|---|
author | suibin zhang <suibin@onlab.us> | Mon Nov 30 14:21:35 2015 -0800 |
committer | suibin zhang <suibin@onlab.us> | Mon Nov 30 14:21:35 2015 -0800 |
tree | f225d1235d129ff3ca882f54187de87c69a1323c | |
parent | 050596c16e6c95bcbca28e84d6a4b8f0281f7183 [diff] |
add extra print to get around a pexpect problem Change-Id: Ie026feee4d13a4adfaa3acede873ac755b926672
diff --git a/TestON/tests/PLATdockertest/PLATdockertest.py b/TestON/tests/PLATdockertest/PLATdockertest.py index 7531511..f2b1e65 100755 --- a/TestON/tests/PLATdockertest/PLATdockertest.py +++ b/TestON/tests/PLATdockertest/PLATdockertest.py
@@ -251,6 +251,9 @@ handle = pexpect.spawn(spawncmd) handle.expect("yes/no") handle.sendline("yes") + print("yes is sent") + #this extra statement is sent to get around some + #pexpect issue of not seeing the next expected string handle.expect("Password:") handle.sendline(pwd) time.sleep(5)