[PATCH v2 05/12] test: Use ut_asserteq_str() instead of ut_assertok(strcmp())

Simon Glass sjg at chromium.org
Fri Nov 5 03:02:26 CET 2021


On Wed, 3 Nov 2021 at 17:23, Marek Behún <kabel at kernel.org> wrote:
>
> From: Marek Behún <marek.behun at nic.cz>
>
> Use the ut_asserteq_str() assertion instead of strcmp() function and
> ut_assertok()ing it's result.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
>  test/dm/cpu.c     |  4 ++--
>  test/dm/soc.c     |  4 ++--
>  test/dm/sysinfo.c |  6 +++---
>  test/dm/usb.c     |  2 +-
>  test/dm/virtio.c  |  2 +-
>  test/print_ut.c   | 32 ++++++++++++++++----------------
>  6 files changed, 25 insertions(+), 25 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list