103 lines (78 sloc) 2.13 KB
The runtest files contain a list of test cases to be executed.
File Format
Lines starting with a '#' are comments and blank lines are ignored.
Otherwise, lines start with a test name followed by white space, then some
shell script to be executed. For example
Test Name
| Delimiter Test case argument
| | |
v v v
splice02 seq 1 20000 | splice02 splice02-temp
^ ^ ^
| | |
| Test case executable |
-----------Shell script-------------
So the splice02 runtest entry pipes the output of seq into the splice02 test
executable. Most runtest entries are simpler than this, for example
splice03 splice03
Here the test name and executable have the same name and no arguments have
been supplied.
Run test files should start with a comment describing the tests they contain,
#DESCRIPTION:Kernel system calls
Note that the LTP has absorbed a number of other projects. Some of these have
been fully converted to the LTP format, others have runtest files generated
for them during installation, while some use a shell script to integrate them
with the other tests.
Test suites
- syscalls (except epoll, see below)
- fs
- fsx
- dio
- mm
- ipc
- sched
- math
- pty
if run network tests flag is passed these additional tests are run
- tcp_cmds
- multicast
- rpc
- nfs
To test filesystem with LVM
w/o LVM
Device Mapper tests
Network tests
- testcases/network/sockets/
other filesystem or disk type tests
LTP Stress tests
AIO/DIO filesystem tests
Device driver tests (may not run on all platforms)
- acpi
- agp
- base
- drm
- include
- nls
- pci
- tbio
- usb
- run_tests
- run_tests
testcases/kernel/syscalls/epoll - The tests require additional installation files. See the README in the epoll directory.