selftests/nolibc: simplify status printing
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 11 Jul 2023 09:48:40 +0000 (11:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Aug 2023 02:40:22 +0000 (04:40 +0200)
commitb184a261e526ada6207b62a96624cc97d741565c
treeaadef4188ce82ae00c848b071dfbc4952fd3bca9
parent3097783ecf3b963a6b700f32b6190b0910e39724
selftests/nolibc: simplify status printing

pad_spc() is only ever used to print the status message of testcases.
The line size is always constant, the return value is never used and the
format string is never used as such.

Remove all the unneeded logic and simplify the API and its users.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/testing/selftests/nolibc/nolibc-test.c