[LTP] [PATCH v3 1/2] lib: extend .request_hugepages to guarantee enough hpages

Petr Vorel pvorel@suse.cz
Mon Jun 6 22:20:38 CEST 2022


Hi Li,

> diff --git a/lib/newlib_tests/test_zero_hugepage.c b/lib/newlib_tests/test_zero_hugepage.c
...
>  static struct tst_test test = {
>  	.test_all = do_test,
> -	.request_hugepages = TST_NO_HUGEPAGES,
> +	.hugepages = {TST_NO_HUGEPAGES},

Also comment at the top should be renamed:

-Tests .request_hugepages = TST_NO_HUGEPAGES
+Tests .hugepages = {TST_NO_HUGEPAGES}

Unrelated to this change:
I wonder if we want to use docparse also for API tests.

Kind regards,
Petr


More information about the ltp mailing list