correction: pexpect.timeout -> TIMEOUT

This commit is contained in:
Bob Lantz
2013-08-25 18:06:22 -07:00
parent 662fb712bc
commit c353e60913
+1 -1
View File
@@ -427,7 +427,7 @@ def interact( vm ):
# know the time for each test, which means that this
# script will have to change as we add more tests.
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' )
else:
log( '* Test', test, 'FAILED' )