[LTP] [RFC PATCH 1/3] runltp: Deprecate, add info about kirk
Petr Vorel
pvorel@suse.cz
Fri Jun 7 16:24:21 CEST 2024
kirk is not perfect but already much better than old runltp script.
Let's deprecate runltp and propagate kirk.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
runltp | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/runltp b/runltp
index 62ab66871..4b0bd08f1 100755
--- a/runltp
+++ b/runltp
@@ -68,9 +68,19 @@
#################################################################################
+deprecated()
+{
+ echo "-------------------------------------------"
+ echo "INFO: runltp script is deprecated, try kirk"
+ echo "https://github.com/linux-test-project/kirk"
+ echo "-------------------------------------------"
+}
+
setup()
{
+ deprecated
+
cd `dirname $0` || \
{
echo "FATAL: unable to change directory to $(dirname $0)"
@@ -921,6 +931,9 @@ EOF
EOF
}
+
+ deprecated
+
exit $VALUE
}
--
2.45.1
More information about the ltp
mailing list