Acceptance test machine_m68k_nextcube.py: relax the error code pattern

Instead of looking for a specific error, let's relax the pattern
because different errors have been seen (I'm consistenly getting 52)
and the real goal of this test is to validate the framebuffer
operation, and not to reproduce one specific error.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20190919161400.26399-1-crosa@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
This commit is contained in:
Cleber Rosa 2019-09-19 12:14:00 -04:00
parent 4300b7c2cd
commit 20869f9865

View File

@ -116,6 +116,6 @@ class NextCubeMachine(Test):
if len(line): if len(line):
console_logger.debug(line) console_logger.debug(line)
self.assertIn('Testing the FPU, SCC', text) self.assertIn('Testing the FPU, SCC', text)
self.assertIn('System test failed. Error code 51', text) self.assertIn('System test failed. Error code', text)
self.assertIn('Boot command', text) self.assertIn('Boot command', text)
self.assertIn('Next>', text) self.assertIn('Next>', text)