summaryrefslogtreecommitdiff
path: root/test/cmd/addrmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cmd/addrmap.c')
-rw-r--r--test/cmd/addrmap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/cmd/addrmap.c b/test/cmd/addrmap.c
index 1eb5955db17..b34be895f5d 100644
--- a/test/cmd/addrmap.c
+++ b/test/cmd/addrmap.c
@@ -5,7 +5,6 @@
* Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com>
*/
-#include <common.h>
#include <console.h>
#include <test/suites.h>
#include <test/ut.h>
@@ -16,7 +15,6 @@
/* Test 'addrmap' command output */
static int addrmap_test_basic(struct unit_test_state *uts)
{
- ut_assertok(console_record_reset_enable());
ut_assertok(run_command("addrmap", 0));
ut_assert_nextline(" vaddr paddr size");
ut_assert_nextline("================ ================ ================");
@@ -25,7 +23,7 @@ static int addrmap_test_basic(struct unit_test_state *uts)
return 0;
}
-ADDRMAP_TEST(addrmap_test_basic, UT_TESTF_CONSOLE_REC);
+ADDRMAP_TEST(addrmap_test_basic, UTF_CONSOLE);
int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{