Linux Test Project is a joint project started by SGI, OSDL and Bull developed and maintained by IBM, Cisco, Fujitsu, SUSE, Red Hat, Oracle and others. The project goal is to deliver tests to the open source community that validate the reliability, robustness, and stability of Linux.
More information at https://github.com/linux-test-project/ltp/blob/master/README.
The code for realtime test cases of ltp is available at: https://github.com/linux-test-project/ltp/tree/master/testcases/realtime
Following are the steps to quickly download ltp and build all the realtime related testcases:
$> git clone https://github.com/linux-test-project/ltp.git $> cd ltp $> make autotools $> ./configure $> cd testcases/realtime $> ./configure $> make
Detailed installation instructions can be found at https://github.com/linux-test-project/ltp/blob/master/INSTALL.
Following is the list of real-time testcases which are currently available in LTP:
Description of all the test cases: https://github.com/linux-test-project/ltp/blob/master/testcases/realtime/00_Descriptions.txt
To run all the test cases, just traverse to ${SRC}/testcases/realtime and run the following command as root
:
Be careful with these tests!
Don't run them on production systems. Growfiles, doio, and iogen in particular stress the I/O capabilities of systems and while they should not cause problems on properly functioning systems, they are intended to find (or cause) problems. (Reference: https://github.com/linux-test-project/ltp/blob/master/README)
# please make sure to include the '-l' argument even though it is specified as optional # because there is a bug in ltp which throughs out a syntax error if the argument is not specified. $> ./run.sh -t all -l 1
The user can also run functional, stress and performance test by providing func
, stress
and perf
as argument to -t switch respectively.