From: Thomas Weißschuh Date: Fri, 11 Apr 2025 09:00:53 +0000 (+0200) Subject: selftests/nolibc: rename vfprintf test suite X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6311e4893ad204695473caf167e22ebf23cb8f5d;p=users%2Fhch%2Fmisc.git selftests/nolibc: rename vfprintf test suite With the addition of snprintf() and its usage in nolibc-test, the name of the "vfprintf" test suite is not accurate anymore. Rename the suite to be more generic. Signed-off-by: Thomas Weißschuh Acked-by: Willy Tarreau --- diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 1874199b2cf6..5fb4319545d5 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -1389,7 +1389,7 @@ static int test_scanf(void) return 0; } -static int run_vfprintf(int min, int max) +static int run_printf(int min, int max) { int test; int ret = 0; @@ -1551,7 +1551,7 @@ static const struct test test_names[] = { { .name = "startup", .func = run_startup }, { .name = "syscall", .func = run_syscall }, { .name = "stdlib", .func = run_stdlib }, - { .name = "vfprintf", .func = run_vfprintf }, + { .name = "printf", .func = run_printf }, { .name = "protection", .func = run_protection }, { 0 } };