diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-19 10:08:43 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-16 12:11:43 -0500 |
commit | 2f6ab77cbb246218374066fc62ecd052f28ecb1c (patch) | |
tree | 8bc9170aa85da4fa08a6b499b7855759eba0d8f1 | |
parent | 4740cc835cc10c16a28c4d34bfb5e1ad60abbd2f (diff) | |
download | u-boot-2f6ab77cbb246218374066fc62ecd052f28ecb1c.zip u-boot-2f6ab77cbb246218374066fc62ecd052f28ecb1c.tar.gz u-boot-2f6ab77cbb246218374066fc62ecd052f28ecb1c.tar.bz2 |
test: correct the test prefix in ut str
Align the prefix used in cmd_ut_category function and name of tests
for ut str.
This patch solves the issues detected by "make qcheck" after previous
patch.
Fixes: fdc79a6b125d ("lib: Add a function to convert a string to upper case")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | test/str_ut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/str_ut.c b/test/str_ut.c index ef1205d..cd50455 100644 --- a/test/str_ut.c +++ b/test/str_ut.c @@ -19,7 +19,7 @@ static const char str3[] = "0xbI'm sorry you're alive."; /* Declare a new str test */ #define STR_TEST(_name, _flags) UNIT_TEST(_name, _flags, str_test) -static int str_test_upper(struct unit_test_state *uts) +static int str_upper(struct unit_test_state *uts) { char out[TEST_STR_SIZE]; @@ -55,7 +55,7 @@ static int str_test_upper(struct unit_test_state *uts) return 0; } -STR_TEST(str_test_upper, 0); +STR_TEST(str_upper, 0); static int run_strtoul(struct unit_test_state *uts, const char *str, int base, ulong expect_val, int expect_endp_offset, bool upper) |