correction: pexpect.timeout -> TIMEOUT
This commit is contained in:
+1
-1
@@ -427,7 +427,7 @@ def interact( vm ):
|
|||||||
# know the time for each test, which means that this
|
# know the time for each test, which means that this
|
||||||
# script will have to change as we add more tests.
|
# script will have to change as we add more tests.
|
||||||
for test in range( 0, 2 ):
|
for test in range( 0, 2 ):
|
||||||
if vm.expect( [ 'OK', 'FAILED', pexpect.timeout ], timeout=60 ) == 0:
|
if vm.expect( [ 'OK', 'FAILED', pexpect.TIMEOUT ], timeout=60 ) == 0:
|
||||||
log( '* Test', test, 'OK' )
|
log( '* Test', test, 'OK' )
|
||||||
else:
|
else:
|
||||||
log( '* Test', test, 'FAILED' )
|
log( '* Test', test, 'FAILED' )
|
||||||
|
|||||||
Reference in New Issue
Block a user