diff mbox

[U-Boot] test: Fix FIT test to pass again

Message ID 20170804222016.101309-1-sjg@chromium.org
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass Aug. 4, 2017, 10:20 p.m. UTC
A recent change adjusted a test string so that the test no-longer passes.
Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Heiko Schocher <hs@denx.de>
Fixes: b28c5fcc (test-fit.py: Minor grammar/spelling/clarification tweaks)
---

 test/image/test-fit.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Aug. 14, 2017, 12:08 a.m. UTC | #1
On Fri, Aug 04, 2017 at 04:20:16PM -0600, Simon Glass wrote:

> A recent change adjusted a test string so that the test no-longer passes.
> Fix it.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Reported-by: Heiko Schocher <hs@denx.de>
> Fixes: b28c5fcc (test-fit.py: Minor grammar/spelling/clarification tweaks)

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/test/image/test-fit.py b/test/image/test-fit.py
index b0d0538919..ca38f71a15 100755
--- a/test/image/test-fit.py
+++ b/test/image/test-fit.py
@@ -392,7 +392,7 @@  def run_fit_test(mkimage, u_boot):
         fail('Ramdisk loaded but should not be', stdout)
 
     # Find out the offset in the FIT where U-Boot has found the FDT
-    line = find_matching(stdout, 'Booting using the FDT blob at ')
+    line = find_matching(stdout, 'Booting using the fdt blob at ')
     fit_offset = int(line, 16) - params['fit_addr']
     fdt_magic = struct.pack('>L', 0xd00dfeed)
     data = read_file(fit)