[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220617202931.357-1-kalpana.shetty@amd.com>
Date: Sat, 18 Jun 2022 01:59:31 +0530
From: Kalpana Shetty <kalpana.shetty@....com>
To: <akpm@...ux-foundation.org>, <shuah@...nel.org>,
<linux-mm@...ck.org>, <linux-kselftest@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: Kalpana Shetty <kalpana.shetty@....com>
Subject: [PATCH V4] selftests/vm: Add protection_keys tests to run_vmtests
Adding "protected_keys" tests to "run_vmtests.sh" would help out to run all VM related tests
from a single shell script.
Signed-off-by: Kalpana Shetty <kalpana.shetty@....com>
---
Changes in V4:
Shuah Khan's review comments incorporated, added -x executable check.
tools/testing/selftests/vm/run_vmtests.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tools/testing/selftests/vm/run_vmtests.sh b/tools/testing/selftests/vm/run_vmtests.sh
index 41fce8bea929..61b1ca129a30 100755
--- a/tools/testing/selftests/vm/run_vmtests.sh
+++ b/tools/testing/selftests/vm/run_vmtests.sh
@@ -179,4 +179,15 @@ run_test ./ksm_tests -N -m 1
# KSM test with 2 NUMA nodes and merge_across_nodes = 0
run_test ./ksm_tests -N -m 0
+# protection_keys tests
+if [ -x ./protection_keys_32 ]
+then
+ run_test ./protection_keys_32
+fi
+
+if [ -x ./protection_keys_64 ]
+then
+ run_test ./protection_keys_64
+fi
+
exit $exitcode
--
2.25.1
Powered by blists - more mailing lists