Marek Vasut 8b3694aab3 test: print: Fix hexdump test on 64bit systems
Use the following regex to make this test compatible with
both 32bit and 64bit systems. The trick is to use %0*lx
format string for the address prefix in the test.

"
s@\(ut_assert_nextline("\)0\+\([^:]\+\)\(:.*"\)\();\)@\1%0*lx\3, IS_ENABLED(CONFIG_PHYS_64BIT) ? 16 : 8, 0x\2UL\4
"

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-09-06 13:51:19 -04:00
..
2023-09-04 10:51:58 -04:00
2023-08-08 10:22:03 -04:00
2023-08-31 13:16:54 -04:00
2023-08-25 13:54:33 -04:00
2023-08-22 15:17:52 -04:00
2023-04-25 15:31:27 -04:00
2022-08-10 13:38:30 -04:00
run
2023-04-03 06:53:53 +12:00