mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-27 21:47:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -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