Spaces:
Building
Building
Update tests.py
Browse files
tests.py
CHANGED
@@ -115,7 +115,7 @@ def run(cmd, timeout_sec,forever_cmd):
|
|
115 |
|
116 |
child.sendline(command)
|
117 |
|
118 |
-
while (not child.eof() ) and (time.time()-t<
|
119 |
x=child.readline().decode()
|
120 |
output=output+x
|
121 |
print(x)
|
|
|
115 |
|
116 |
child.sendline(command)
|
117 |
|
118 |
+
while (not child.eof() ) and (time.time()-t<120):
|
119 |
x=child.readline().decode()
|
120 |
output=output+x
|
121 |
print(x)
|