简介
LTP是由 Linux Test Project 所开发的一套系统测试套件,用于检测操作系统在压力测试下的表现,我们使用其中和文件系统相关的测试案例,包括fs_bind,fs_perms_simple,fsx,io,smoketest,fs,syscalls这七组测试用例。
下载安装
git clone https://github.com/linux-test-project/ltp.git
cd ltp
make autotools
./configure
make all
make install
测试
cd /opt/ltp
./runltp -d /home/ -f fs_bind,fs_perms_simple,fsx,io,smoketest-kfs,fs-kfs,syscalls-kfs
PS:-d 后面是文件系统的挂载路径
-f 后面是测试用例