mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
ltp
This commit is contained in:
29
README.adoc
29
README.adoc
@@ -2783,6 +2783,35 @@ but nothing changed.
|
||||
|
||||
Note that on Ubuntu 17.10, to get to the text terminal from the GUI we first need `Ctrl-Alt-Fx`, and once in the text terminals, `Alt-Fn` works without `Ctrl`.
|
||||
|
||||
=== Linux kernel testing
|
||||
|
||||
https://stackoverflow.com/questions/3177338/how-is-the-linux-kernel-tested
|
||||
|
||||
==== LTP
|
||||
|
||||
Linux Test Project
|
||||
|
||||
https://github.com/linux-test-project/ltp
|
||||
|
||||
C userland test suite.
|
||||
|
||||
Buildroot already has a package, so it is trivial to try it out:
|
||||
|
||||
....
|
||||
./build -B 'BR2_PACKAGE_LTP_TESTSUITE=y'
|
||||
....
|
||||
|
||||
Then try it out with:
|
||||
|
||||
....
|
||||
cd /usr/lib/ltp-testsuite/testcases
|
||||
./bin/write01
|
||||
....
|
||||
|
||||
There is a main executable `execltp` to run everything, but it depends on Python, so let's just run them manually.
|
||||
|
||||
TODO a large chunk of tests, the Open POSIX testsuite, is disabled with a comment on Buildroot master saying build failed: https://github.com/buildroot/buildroot/blob/3f37dd7c3b5eb25a41edc6f72ba73e5a21b07e9b/package/ltp-testsuite/ltp-testsuite.mk#L13 However, both tickets mentioned there were closed, so we should try it out and patch Buildroot if it works now.
|
||||
|
||||
== QEMU
|
||||
|
||||
Some QEMU specific features to play with and limitations to cry over.
|
||||
|
||||
Reference in New Issue
Block a user