Acceptance test machine_m68k_nextcube.py: relax the error code pattern
authorCleber Rosa <crosa@redhat.com>
Thu, 19 Sep 2019 16:14:00 +0000 (12:14 -0400)
committerCleber Rosa <crosa@redhat.com>
Fri, 20 Sep 2019 20:24:53 +0000 (16:24 -0400)
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>
tests/acceptance/machine_m68k_nextcube.py

index e09cab9f2091458ba2753bacdfc660dbbb39256d..fcd2c58ee7ccbe435f35a392097c363652154167 100644 (file)
@@ -116,6 +116,6 @@ class NextCubeMachine(Test):
             if len(line):
                 console_logger.debug(line)
         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('Next>', text)