Linux Test Project

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.

Linux测试项目(LTP)由http://ltp.sourceforge.net/托管,是一个由大约3,000个测试组成的套件,旨在运行内核的不同部分。大多数测试在没有用户干预的情况下运行。有一些测试需要手动配置,例如网络和存储介质测试,。

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:

LTP主页下载源tar包,运行make,进入目录,运行runltp以启动测试。在results/目录中的logfile中检查结果,请执行以下操作:

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 of LTP’s code coverage (overall coverage, lines in path, and distinct lines hit) for a few kernel versions, split across directories in the kernel tree.

LTP生成的一些错误是“预期的”.LTP网站记录了各种内核版本的预期错误列表。此外,网站对一些内核版本的LTP代码覆盖率(整体覆盖率,路径中的行和不同的行命中)进行了有趣的分析,并分析了内核树中的目录。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值