Section #8. Linux Test Project

Linux Test Project (LTP), hosted at http://ltp.sourceforge.net/, is a suite consisting of approximately 3,000 tests designed to exercise different parts of the kernel. Most tests run without user intervention. Others, such as networking and storage media tests, need some manual configuration.

Download the source tar ball from the LTP home page, run make, and invoke the wrapper script runltp from the root of the source tree to start the tests. To capture the results in logfile in the results/ directory, do this:

bash> runltp –p –l logfile

Some errors generated by LTP are “expected.” The LTP website documents the list of expected errors for various kernel versions. Also in the website is an interesting analysis ...

Get Debugging Linux Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.