In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
What this article shares to you is the example analysis of the Linux Test Project test suite. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
LTP (Linux Test Project)
Linux Test Project is a project developed and maintained by SGI, OSDL and Bull and jointly developed and maintained 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 testing into testing. Of course, we encourage interested open source contributors to join us.
The project home page is at: http://linux-test-project.github.io/
The latest version is at: https://github.com/linux-test-project/ltp/releases
The discussion about the project is in the ltp mailing list: http://lists.linux.it/listinfo/ltp
The git warehouse is on GitHub: https://github.com/linux-test-project/ltp
Other instructions
The earliest source code of ltp is on sourceforge: http://ltp.sourceforge.net/
Of course, it has been moved to github: https://github.com/linux-test-project/ltp.
Warning
You must be careful in testing
Do not run them on the production system. Growfiles, doio, and iogen can put special pressure on the system's Icano function, although they do not cause problems on functioning systems, but their purpose is to find (or trigger) problems.
Quick test method installation
If you have git, autoconf, automake, M4, linux header files and general development packages installed on your system, simply execute the following command.
For example, the environment I am currently testing is CentOS 7.4, with kernel-headers and kernel-devel packages installed, and the installation principle is that if you report any dependency errors, just 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
It needs to be executed with the root user because some test cases require root permissions.
Run a specific test suite
#. / runltp-f syscalls#. / runltp-f syscalls-s madvise
Of course, you can also see the help:
#. / runltp-the above help is the example analysis of the Linux Test Project test suite. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
The address of MAC can also be modified.
© 2024 shulou.com SLNews company. All rights reserved.