#40 single script to execute full instructions as currently provided
Opened 2 years ago by fuller. Modified 2 years ago
fuller/kernel-tests master  into  master

file added
+11
@@ -0,0 +1,11 @@ 

+ #! /bin/bash

+ 

+ # kernel testing: steps as currently (14-09-2021) recommended on

+ # https://fedoraproject.org/wiki/QA:Testcase_kernel_regression

+ sudo semanage boolean -m --on selinuxuser_execheap

+ 

+ sudo ./runtests.sh

+ 

+ sudo ./runtests.sh -t performance

+ 

+ sudo semanage boolean -m --off selinuxuser_execheap

Provide a single BASH script to execute SELinux changes and kernel tests as currently recommended for regression testing

I would not say that the performance test is "recommended" at all. While it is nice to get results from the users willing to run it, I think it is too much to ask for the more common tester. The selinux testing will appropriately skip if selinux is not enforcing, and honestly the data on percentage of testers not running in enforcing mode is more interesting than the results of a test which should pass or fail depending on code, and is not hardware dependent.

Perhaps then the instructions at https://fedoraproject.org/wiki/QA:Testcase_kernel_regression should be updated to reflect your views.
The "How to Test" section is written in the imperative with no indication that the performance test is "optional" relative to default or that any variations in the SELinux state are permitted. Naively, I have always understood this to mean that there is one set of instructions from which I should not deviate.

Indeed they should. Those test cases were not written by the kernel team.

ok then - I have no idea who the responsible party is or what the more desirable set of instructions would be, so I'll be on my way...

Metadata