]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - test/py/tests/test_log.py
log: Update log_console to honour the log format
[people/ms/u-boot.git] / test / py / tests / test_log.py
index fa9a25e8dc0c6c254750513151fd57e3120511cc..517f41514384f643613cbc2ce74e6820df7a9295 100644 (file)
@@ -28,9 +28,9 @@ def test_log(u_boot_console):
         """
         for i in range(max_level):
             if mask & 1:
-                assert 'log %d' % i == lines.next()
+                assert 'log_run() log %d' % i == lines.next()
             if mask & 3:
-                assert '_log %d' % i == lines.next()
+                assert 'func() _log %d' % i == lines.next()
 
     def run_test(testnum):
         """Run a particular test number (the 'log test' command)