Spaces:
Running
Running
Update tests.py
Browse files
tests.py
CHANGED
@@ -112,6 +112,8 @@ def run(cmd, timeout_sec,forever_cmd):
|
|
112 |
print(child.readline().decode())
|
113 |
child.sendline('password')
|
114 |
print(child.readline().decode())
|
|
|
|
|
115 |
|
116 |
child.sendline('PROMPT_COMMAND="echo END"')
|
117 |
child.readline().decode()
|
|
|
112 |
print(child.readline().decode())
|
113 |
child.sendline('password')
|
114 |
print(child.readline().decode())
|
115 |
+
child.sendline('Y')
|
116 |
+
print(child.readline().decode())
|
117 |
|
118 |
child.sendline('PROMPT_COMMAND="echo END"')
|
119 |
child.readline().decode()
|