Initial Commit
- initial default booting image
This commit is contained in:
8
support/testing/tests/package/sample_python_pexpect.py
Normal file
8
support/testing/tests/package/sample_python_pexpect.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import pexpect
|
||||
|
||||
p = pexpect.spawn(["login"])
|
||||
p.expect("login:")
|
||||
p.sendline("wrong")
|
||||
p.expect("Password:")
|
||||
p.sendline("wrong")
|
||||
p.expect("Login incorrect")
|
||||
Reference in New Issue
Block a user