[LTP] [PATCH 05/13] vma05.sh, keyctl01.sh: Add groups
Cyril Hrubis
chrubis@suse.cz
Wed Jun 24 11:18:52 CEST 2026
Unlike the C library the shell metadata parser does not process the
JSON, hence the tags are added manually.
Since we have just a few shell tests, automatic group discovery is not
worth the effort. If we get more shell tests we will need to rewrite the
shell metadata parser to load the JSON into a memory, modify it, and
then save it.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
testcases/commands/keyctl/keyctl01.sh | 3 +++
testcases/kernel/mem/vma/vma05.sh | 3 +++
2 files changed, 6 insertions(+)
diff --git a/testcases/commands/keyctl/keyctl01.sh b/testcases/commands/keyctl/keyctl01.sh
index 514b6b8bf..2b2244fae 100755
--- a/testcases/commands/keyctl/keyctl01.sh
+++ b/testcases/commands/keyctl/keyctl01.sh
@@ -22,6 +22,9 @@
# "save_restore": [
# ["/proc/sys/kernel/keys/root_maxbytes", null, "TCONF"]
# ],
+# "groups": [
+# "keyctl", "cve", "regression"
+# ],
# "tags": [
# ["linux-git", "38327424b40bcebe2de92d07312c89360ac9229a"],
# ["CVE", "2016-4470"]
diff --git a/testcases/kernel/mem/vma/vma05.sh b/testcases/kernel/mem/vma/vma05.sh
index b9654e80c..497abf34f 100755
--- a/testcases/kernel/mem/vma/vma05.sh
+++ b/testcases/kernel/mem/vma/vma05.sh
@@ -34,6 +34,9 @@
# "cmd": "uname"
# }
# ],
+# "groups": [
+# "vsyscall", "regression"
+# ],
# "save_restore": [
# ["/proc/sys/kernel/core_pattern", "core", "TBROK"],
# ["/proc/sys/kernel/core_uses_pid", "0", "TBROK"]
--
2.53.0
More information about the ltp
mailing list