mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
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