English French
Before testing, you need to install some packages:
sudo dnf install gcc make git libtirpc python3-fedora keyutils libtirpc-devel policycoreutils-python-utils
If you are using the _*test day image*_ you already have the kernel-test suite in the kernel-tests folder; enter the folder with
cd /home/liveuser/kernel-tests
If you are not using the test day image you will need to clone the kernel-tests repo. Use this command in terminal:
git clone https://pagure.io/kernel-tests.git
this will download the same folder that you find in the test day image, with the testing scripts. When the download is finished, enter the kernel-tests folder:
cd kernel-tests
Once inside the kernel-tests folder, it’s time to edit some configuration files; first we need to copy the content of the `config.example` file in a new hidden file named `.config`
cp config.example .config
Now edit the `.config` file with your favorite editor.
Here we can decide whether or not to upload the results of our tests to Fedora servers. By default, running the tests will not automatically submit results. They will just run and write results on a log file in /kernel-tests/logs/
To submit results anonymously: edit the `.config` file with `submit=anonymous`
To submit results linked to your FAS username: edit the `.config` file with `submit=authenticated` and `username=<your FAS username>`
If you link your submission to your FAS username, you’ll also receive a https://badges.fedoraproject.org/badge/science-kernel-tester-i[Fedora badge!]
The results of your test will be uploaded https://apps.fedoraproject.org/kerneltest/[here]
Running tests
*Before running the test, be sure your machine has no workload already, like other cpu intensive processes.You can check using the command: top*
Before running tests, we need to allow the testsuite to make their heap memory executable with this command:
sudo semanage boolean -m --on selinuxuser_execheap