[LTP] [PATCH] Create policy for testing unstable kernel features

Richard Palethorpe rpalethorpe@suse.com
Thu Feb 3 11:18:03 CET 2022


It's not clear if anything more than this is required for now.

Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---

 doc/test-writing-guidelines.txt | 10 ++++++++++
 runtest/staging                 |  1 +
 2 files changed, 11 insertions(+)
 create mode 100644 runtest/staging

diff --git a/doc/test-writing-guidelines.txt b/doc/test-writing-guidelines.txt
index 1fa751ed5..8ca014d45 100644
--- a/doc/test-writing-guidelines.txt
+++ b/doc/test-writing-guidelines.txt
@@ -334,3 +334,13 @@ It's easier to maintain a '.gitignore' file per directory with tests, rather
 than having single file in the project root directory. This way, we don't have
 to update all the gitignore files when moving directories, and they get deleted
 automatically when a directory with tests is removed.
+
+7 Testing pre-release kernel features
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Tests for features not yet in a mainline kernel release are accepted. However
+they must only be added to the +staging+ runtest file. Once a feature is part
+of the stable kernel ABI the associated test must be moved out of staging.
+
+This is primarily to help test kernel RCs by avoiding the need to download
+separate LTP patchsets.
diff --git a/runtest/staging b/runtest/staging
new file mode 100644
index 000000000..ef1cdea15
--- /dev/null
+++ b/runtest/staging
@@ -0,0 +1 @@
+# Tests for features that are not yet in the stable kernel ABI
-- 
2.34.1



More information about the ltp mailing list