selftests/mm/run_vmtests.sh: Fix protection_keys binary name in run_vmtests.sh
Subsystems (3)
PATCH 1/1 selftests/mm/run_vmtests.sh: Fix protection_keys binary name in run_vmtests.sh
we have protection_keys_32 and protection_keys_64 tests mentioned in run_vmtests.sh but the binary name is protection_keys with current kernel, adding the correct binary name.
Signed-off-by Pavithra <[email protected]>
--- tools/testing/selftests/mm/run_vmtests.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
tools/testing/selftests/mm/run_vmtests.sh +2 -7
@@ -344,14 +344,9 @@ CATEGORY="ksm_numa" run_test ./ksm_tests -N -m 0 CATEGORY="ksm" run_test ./ksm_functional_tests # protection_keys tests -if [ -x ./protection_keys_32 ] +if [ -x ./protection_keys ] then - CATEGORY="pkey" run_test ./protection_keys_32 -fi - -if [ -x ./protection_keys_64 ] -then - CATEGORY="pkey" run_test ./protection_keys_64 + CATEGORY="pkey" run_test ./protection_keys fi if [ -x ./soft-dirty ]
Signature · 1 line
2.54.0
Andrew Morton
maintainerQuoted 3 lines · On Mon, 1 Jun 2026 11:43:14 +0530 Pavithra <[email protected]> wrote:
we have
protection_keys_32andprotection_keys_64tests mentioned inrun_vmtests.shbut the binary name isprotection_keyswith current kernel,
Is it?
Makefile has:
VMTARGETS := protection_keys
VMTARGETS += pkey_sighandler_testsBINARIES_32 := $(VMTARGETS:%=%_32)BINARIES_64 := $(VMTARGETS:%=%_64)
hp2:/usr/src/mm/tools/testing/selftests/mm> ls -l prot* -rwxrwxr-x 1 akpm akpm 117792 May 31 23:20 protection_keys_64 -rw-rw-r-- 1 akpm akpm 48448 May 31 21:54 protection_keys.c