1The runtest files contain a list of test cases to be executed. 2 3File Format 4----------- 5 6Lines starting with a '#' are comments and blank lines are ignored. 7 8Otherwise, lines start with a test name followed by white space, then some 9shell script to be executed. For example 10 11Test Name 12| Delimiter Test case argument 13| | | 14v v v 15splice02 seq 1 20000 | splice02 splice02-temp 16 ^ ^ ^ 17 | | | 18 | Test case executable | 19 -----------Shell script------------- 20 21So the splice02 runtest entry pipes the output of seq into the splice02 test 22executable. Most runtest entries are simpler than this, for example 23 24splice03 splice03 25 26Here the test name and executable have the same name and no arguments have 27been supplied. 28 29Run test files should start with a comment describing the tests they contain, 30e.g. 31 32#DESCRIPTION:Kernel system calls 33 34Note that the LTP has absorbed a number of other projects. Some of these have 35been fully converted to the LTP format, others have runtest files generated 36for them during installation, while some use a shell script to integrate them 37with the other tests. 38 39Test suites 40----------- 41 42 - syscalls (except epoll, see below) 43 - fs 44 - fsx 45 - dio 46 - mm 47 - ipc 48 - sched 49 - math 50 - pty 51 52if run network tests flag is passed these additional tests are run 53 - tcp_cmds 54 - multicast 55 - rpc 56 - nfs 57 58To test filesystem with LVM 59- ltpfslvm.sh 60w/o LVM 61- ltpfsnolvm.sh 62 63Device Mapper tests 64 - ltpdmmapper.sh 65 66Network tests 67 - network.sh 68 - testcases/network/sockets/ltpSockets.sh 69 70other filesystem or disk type tests 71 - autofs1.sh 72 - autofs4.sh 73 - diskio.sh 74 - exportfs.sh 75 - isofs.sh 76 - sysfs.sh 77 78AIO/DIO filesystem tests 79 - ltp-aiodio.sh 80 81Device driver tests (may not run on all platforms) 82 - acpi 83 - agp 84 - base 85 - drm 86 - include 87 - nls 88 - pci 89 - tbio 90 - usb 91 92Open_hpi_testsuite 93 - run_tests 94 95Open_posix_testsuite 96 - run_tests 97 98 99testcases/kernel/syscalls/epoll - The tests require additional installation files. See the README in the epoll directory. 100