Re: [RESEND PATCH] selftests/mincore: fix skip condition for check_huge_pages test

From: Shuah Khan
Date: Thu Jul 13 2023 - 11:39:36 EST


On 6/29/23 02:35, Ricardo Cañuelo wrote:
The check_huge_pages test was failing instead of skipping on qemu-armv7
because the skip condition wasn't handled properly. Add an additional
check to fix it.

Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@xxxxxxxxxxxxx>
Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>
Tested-by: Anders Roxell <anders.roxell@xxxxxxxxxx>
Closes: https://lore.kernel.org/all/CA+G9fYuoB8Ug8PcTU-YGmemL7_eeEksXFihvxWF6OikD7sK7pA@xxxxxxxxxxxxxx
---
tools/testing/selftests/mincore/mincore_selftest.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


Thank you for the patch and sorry for the delay due to conference
travel and vacation.

Will be queued for the next rc.

thanks,
-- Shuah