[LTP] [PATCH 1/1] doc: Remove [Description] title from shell API
Petr Vorel
pvorel@suse.cz
Mon Feb 17 09:48:33 CET 2025
for i in $(git grep -l '# \[Description\]'); do sed -Ezr 's:(#\n)*# \[Description\]\n(#\n)*::g' -i $i; done
Fixes: a3e27df34d ("doc: Remove [Description] title")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Preparation for Cyril's shell test parser
https://patchwork.ozlabs.org/project/ltp/patch/20250212131618.6810-2-chrubis@suse.cz/
Kind regards,
Petr
testcases/kernel/mem/vma/vma05.sh | 3 ---
testcases/lib/tests/shell_loader.sh | 3 ---
testcases/lib/tests/shell_loader_c_child.sh | 3 ---
testcases/lib/tests/shell_loader_invalid_block.sh | 3 ---
4 files changed, 12 deletions(-)
diff --git a/testcases/kernel/mem/vma/vma05.sh b/testcases/kernel/mem/vma/vma05.sh
index 17e262f167..f4c76b7034 100755
--- a/testcases/kernel/mem/vma/vma05.sh
+++ b/testcases/kernel/mem/vma/vma05.sh
@@ -5,9 +5,6 @@
#
# ---
# doc
-#
-# [Description]
-#
# Regression test if the vsyscall and vdso VMA regions are reported correctly.
#
# While [vsyscall] is mostly deprecated with newer systems, there is
diff --git a/testcases/lib/tests/shell_loader.sh b/testcases/lib/tests/shell_loader.sh
index f5d74ee639..a7c5848ff5 100755
--- a/testcases/lib/tests/shell_loader.sh
+++ b/testcases/lib/tests/shell_loader.sh
@@ -4,9 +4,6 @@
#
# ---
# doc
-#
-# [Description]
-#
# This is a simple shell test loader example.
# ---
#
diff --git a/testcases/lib/tests/shell_loader_c_child.sh b/testcases/lib/tests/shell_loader_c_child.sh
index 61f138ad57..34629e6d26 100755
--- a/testcases/lib/tests/shell_loader_c_child.sh
+++ b/testcases/lib/tests/shell_loader_c_child.sh
@@ -4,9 +4,6 @@
#
# ---
# doc
-#
-# [Description]
-#
# This is an example how to run C child from shell.
# ---
#
diff --git a/testcases/lib/tests/shell_loader_invalid_block.sh b/testcases/lib/tests/shell_loader_invalid_block.sh
index a98f1c1522..01811c971d 100755
--- a/testcases/lib/tests/shell_loader_invalid_block.sh
+++ b/testcases/lib/tests/shell_loader_invalid_block.sh
@@ -4,9 +4,6 @@
#
# ---
# doc
-#
-# [Description]
-#
# This is a simple shell test loader example.
# ---
#
--
2.47.2
More information about the ltp
mailing list