Skip to contentSkip to conversation

selftests/mm/run_vmtests.sh: Fix protection_keys binary name in run_vmtests.sh

PATCH New Pavithra 1 participant 1 message May 20

Subsystems (2)
lore
Share & tools
lore

Pavithra

author
#0 lore raw

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.

---
 tools/testing/selftests/mm/run_vmtests.sh | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
tools/testing/selftests/mm/run_vmtests.sh +2 -7
index 043aa3ed2596..a6b6f397d942 100755
@@ -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