[LTP] [PATCH 1/1] hugemmap10: Add TST_SR_TCONF flag to .save_restore

Martin Doucha mdoucha@suse.cz
Wed Dec 11 11:05:39 CET 2024


Hello,
looks good, thank you.

Reviewed-by: Martin Doucha <mdoucha@suse.cz>

On 11. 12. 24 0:23, Petr Vorel wrote:
> Conversion in 0922f44da8 forget to add it.
> 
> Fixes: 0922f44da8 ("save_restore: Introduce new struct field for flags")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>   testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c
> index 0e1b645416..181fe5e253 100644
> --- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c
> +++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c
> @@ -449,8 +449,8 @@ static struct tst_test test = {
>   	.mntpoint = MNTPOINT,
>   	.needs_hugetlbfs = 1,
>   	.save_restore = (const struct tst_path_val[]) {
> -		{PATH_OC_HPAGES, NULL},
> -		{PATH_NR_HPAGES, NULL},
> +		{PATH_OC_HPAGES, NULL, TST_SR_TCONF},
> +		{PATH_NR_HPAGES, NULL, TST_SR_TCONF},
>   		{}
>   	},
>   	.setup = setup,


-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list