* [PATCH] selftests/mm/run_vmtests.sh: Fix protection_keys binary name in run_vmtests.sh
@ 2026-06-01 6:13 Pavithra
2026-06-01 6:22 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Pavithra @ 2026-06-01 6:13 UTC (permalink / raw)
To: shuah, akpm
Cc: linux-kselftest, linux-mm, linux-kernel, linuxppc-dev, pavrampu,
ritesh.list, david, ziy, mhocko, osalvador, lorenzo.stoakes,
dev.jain, Liam.Howlett, linmiaohe
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 <pavrampu@linux.ibm.com>
---
tools/testing/selftests/mm/run_vmtests.sh | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh
index 043aa3ed2596..a6b6f397d942 100755
--- a/tools/testing/selftests/mm/run_vmtests.sh
+++ b/tools/testing/selftests/mm/run_vmtests.sh
@@ -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 ]
--
2.54.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests/mm/run_vmtests.sh: Fix protection_keys binary name in run_vmtests.sh
2026-06-01 6:13 [PATCH] selftests/mm/run_vmtests.sh: Fix protection_keys binary name in run_vmtests.sh Pavithra
@ 2026-06-01 6:22 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2026-06-01 6:22 UTC (permalink / raw)
To: Pavithra
Cc: shuah, linux-kselftest, linux-mm, linux-kernel, linuxppc-dev,
ritesh.list, david, ziy, mhocko, osalvador, lorenzo.stoakes,
dev.jain, Liam.Howlett, linmiaohe
On Mon, 1 Jun 2026 11:43:14 +0530 Pavithra <pavrampu@linux.ibm.com> wrote:
> 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,
Is it?
Makefile has:
VMTARGETS := protection_keys
VMTARGETS += pkey_sighandler_tests
BINARIES_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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-01 6:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01 6:13 [PATCH] selftests/mm/run_vmtests.sh: Fix protection_keys binary name in run_vmtests.sh Pavithra
2026-06-01 6:22 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®