aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini2017-10-09 20:19:39 -0400
committerTom Rini2017-10-09 20:19:39 -0400
commitebdd65258bad89b2da6cce4265c858ee0d5a9440 (patch)
treef2002a9b676849b0697ab9cb494b7ed4f45e8130 /test
parent74d90d17eebfeeefd91776e3deb7901c122bef7f (diff)
parent04d0da51578e12bd7c490aa70ed581ee5f9dcfea (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'test')
-rw-r--r--test/print_ut.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/print_ut.c b/test/print_ut.c
index baad2899725..a42c554bef8 100644
--- a/test/print_ut.c
+++ b/test/print_ut.c
@@ -36,6 +36,9 @@ static int do_ut_print(cmd_tbl_t *cmdtp, int flag, int argc,
snprintf(str, 0, "testing none");
assert(*str == 'x');
+ sprintf(big_str, "_%ls_", L"foo");
+ assert(!strcmp("_foo_", big_str));
+
/* Test the banner function */
s = display_options_get_banner(true, str, sizeof(str));
assert(s == str);