From 0e77c2b6117c1a8497676b33de85766c3f3a904c Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Thu, 22 Aug 2024 07:57:57 -0600
Subject: [PATCH] test: cmd: Use UTF_CONSOLE in tests

Set this flag rather than doing things manually in the test.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 test/cmd/pinmux.c | 3 ++-
 test/cmd/wget.c   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/cmd/pinmux.c b/test/cmd/pinmux.c
index 0b4e001fa1..7ee9269075 100644
--- a/test/cmd/pinmux.c
+++ b/test/cmd/pinmux.c
@@ -36,4 +36,5 @@ static int dm_test_cmd_pinmux_status_pinname(struct unit_test_state *uts)
 
 	return 0;
 }
-DM_TEST(dm_test_cmd_pinmux_status_pinname, UTF_SCAN_PDATA | UTF_SCAN_FDT);
+DM_TEST(dm_test_cmd_pinmux_status_pinname, UTF_SCAN_PDATA | UTF_SCAN_FDT |
+	UTF_CONSOLE);
diff --git a/test/cmd/wget.c b/test/cmd/wget.c
index 1ce167c4ab..a91aa24722 100644
--- a/test/cmd/wget.c
+++ b/test/cmd/wget.c
@@ -223,4 +223,4 @@ static int net_test_wget(struct unit_test_state *uts)
 
 	return 0;
 }
-LIB_TEST(net_test_wget, 0);
+LIB_TEST(net_test_wget, UTF_CONSOLE);
-- 
2.39.5