Wait for crlf after OK/FAILED for better -v output
This commit is contained in:
+1
-1
@@ -509,7 +509,7 @@ def coreTest( vm, prompt=Prompt ):
|
|||||||
# 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=180 ) == 0:
|
if vm.expect( [ 'OK.*\r\n', 'FAILED.*\r\n', pexpect.TIMEOUT ], timeout=180 ) == 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