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- testscripts/lvmtest.sh 60 61Device Mapper tests 62 - ltpdmmapper.sh 63 64Network tests 65 - network.sh 66 - testcases/network/sockets/ltpSockets.sh 67 68other filesystem or disk type tests 69 - autofs1.sh 70 - autofs4.sh 71 - diskio.sh 72 - isofs.sh 73 - sysfs.sh 74 75AIO/DIO filesystem tests 76 - ltp-aiodio.sh 77 78Device driver tests (may not run on all platforms) 79 - acpi 80 - agp 81 - base 82 - drm 83 - include 84 - nls 85 - pci 86 - tbio 87 - usb 88 89Open_hpi_testsuite 90 - run_tests 91 92Open_posix_testsuite 93 - run_tests 94 95 96testcases/kernel/syscalls/epoll - The tests require additional installation files. See the README in the epoll directory. 97