Linux Test Project Testing Suite Description

Source: Internet
Author: User
Tags git clone

LTP (Linux Test Project)

Linux Test Project is a project developed and maintained by SGI, OSDL, and Bull, developed and maintained jointly by IBM, Cisco, Fujitsu, SUSE, Red Hat, Oracle, and other companies. The goal of the project is to provide test cases to the open source community to verify the reliability, robustness, and stability of Linux.

The LTP test suite contains a toolset for testing the Linux kernel and related features. Our goal is to improve the Linux kernel and system libraries by introducing automated tests into the testing effort. Of course we encourage interested open source contributors to join.

    • Project home page in: http://linux-test-project.github.io/
    • Latest Version in: https://github.com/linux-test-project/ltp/releases
    • Discussion of the project in the LTP mailing list: HTTP://LISTS.LINUX.IT/LISTINFO/LTP
    • Git repository on GitHub: HTTPS://GITHUB.COM/LINUX-TEST-PROJECT/LTP

Other Notes

The earliest LTP source on the SourceForge: http://ltp.sourceforge.net/

Now, of course, it's on GitHub: HTTPS://GITHUB.COM/LINUX-TEST-PROJECT/LTP

Warning

Test must be careful

Do not run them on the production system. Growfiles, Doio, and Iogen can cause special stress to the I/O functions of the system, although they do not cause problems on a functioning system, but they are designed to find (or trigger) problems.

Quick test Method installation

If you have git, autoconf, Automake, M4, Linux headers, and generic development packages installed on your system, simply execute the commands below.
For example: I am currently testing the environment is CentOS 7.4, the installation of Kernel-headers and Kernel-devel package, as well as the installation principle is to report what depends on the error, directly install the corresponding RPM.

# git clone https://github.com/linux-test-project/ltp.git# cd ltp# make autotools# ./configure# make# make install

The default LTP is installed in the/OPT/LTP directory.

Test

Run all test Cases

# cd /opt/ltp# ./runltp

The root user needs to be executed because some test cases require root privileges.

Run a specific test suite

# ./runltp -f syscalls# ./runltp -f syscalls -s madvise

Of course, you can also see Help:

# ./runltp --help

Linux Test Project Testing Suite Description

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.