]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: correct the test prefix in ut cmd_mem
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 19 Nov 2020 09:08:42 +0000 (10:08 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 16 Jan 2021 19:49:09 +0000 (14:49 -0500)
Align the prefix used in cmd_ut_category function and name of tests
for ut mem.
This patch solves the issues detected by "make qcheck" after previous
patch.

Fixes: 550a9e7902ce ("cmd: Update the memory-search command")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/cmd/mem.c

index fa6770e8c03732187d0bd6a9c2486184042309aa..fbaa8a4b3cf5b561e43e04111a14cad854a20bb9 100644 (file)
@@ -15,6 +15,6 @@ int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
        struct unit_test *tests = ll_entry_start(struct unit_test, mem_test);
        const int n_ents = ll_entry_count(struct unit_test, mem_test);
 
-       return cmd_ut_category("cmd_mem", "cmd_mem_", tests, n_ents, argc,
+       return cmd_ut_category("cmd_mem", "mem_test_", tests, n_ents, argc,
                               argv);
 }