LTP 工具说明
1 LTP 测试套件 .................................................................................. 3
1.1 简介 ...................................................................................................... 3
1.2 源目录结构 ............................................................................................ 3
2 LTP 安装 .......................................................................................... 4
2.1 下载 ...................................................................................................... 4
2.2 编译 ...................................................................................................... 4
2.3 安装说明 ............................................................................................... 6
3 LTP 测试套件结构说明 ................................................................. 6
3.1 概述 ...................................................................................................... 6
3.2 目录介绍 ............................................................................................... 6
3.3 LTP 执行原理 .......................................................................................... 7
4 LTP 测试套件测试内容 ................................................................. 7
4.1 LTP 测试套件测试内容 ............................................................................. 7
4.1.1 commands ................................................................................. 7
4.1.2 kernel ........................................................................................ 8
4.1.3 kdump ....................................................................................... 8
4.1.4 network ..................................................................................... 8
4.1.5 realtime ..................................................................................... 8
4.1.6 open_posix_testsuite ................................................................. 9
4.1.7 misc .......................................................................................... 9
4.2 测试方法说明 ......................................................................................... 9
4.2.1 commands 模块内容描述及实现方法 ............................................. 9
4.2.2 kernel ...................................................................................... 11
4.2.3 network ................................................................................... 16
4.2.4 open_posix_testsuite ............................................................... 18
4.2.5 realtime ................................................................................... 20
5 LTP 测试套件配置详细 ............................................................... 22
5.1 networktests.sh 脚本配置 ................................................................... 22
5.2 networkstress.sh 配置 ........................................................................ 26
5.3 open_posix_testsuite 测试套件 ........................................................... 30
5.4 realtime 配置 ..................................................................................... 31
5.5 mm 脚本的配置 .................................................................................. 32
5.6 io 脚本配置 ........................................................................................ 32
5.7 filecaps 的配置 ................................................................................... 32
5.8 tpm_tools 的配置 ............................................................................... 33