test: add test for %pUs
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 16 Jan 2022 12:22:06 +0000 (13:22 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 19 Jan 2022 15:16:33 +0000 (16:16 +0100)
commit04641c14071865f3d6b8d39a8ab12a1afa9bda72
tree6efeda6a6e88a679174accbb117071fd6ed3d349
parentd3adee1db87066b1bf8e97fbfe187153ba273628
test: add test for %pUs

Add a unit test for the %pUs printf code.

Use ut_asserteq_str() for checking string results.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/print_ut.c