diff --git a/util/vm/build.py b/util/vm/build.py index eca4096ce9f07a04600078837d0df8062c969772..7d77238ab09d2061d32cb3f38c9f756d0a57ceec 100755 --- a/util/vm/build.py +++ b/util/vm/build.py @@ -509,7 +509,7 @@ def coreTest( vm, prompt=Prompt ): # 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=180 ) == 0: + if vm.expect( [ 'OK.*\r\n', 'FAILED.*\r\n', pexpect.TIMEOUT ], timeout=180 ) == 0: log( '* Test', test, 'OK' ) else: log( '* Test', test, 'FAILED' )