ltp¶
The testing suites contain a collection of tools for testing the Linux kernel and related features.
What It Tests¶
Linux Kernel and Related Features: validate reliability, robustness, and stability of the Linux Kernel and features.
Preconditions¶
System requires root privileges
LTP test suites should be available
Test Parameters¶
Parameter |
Default |
Description |
---|---|---|
|
|
Specify test set |
|
|
Skip package installation |
|
|
LTP version |
|
|
Timeout |
|
|
Root user password |
|
|
Match board name with a list of board names in skipfile |
|
|
LTP temporary directory |
|
|
Match branch name with a list of branch names in skipfile |
|
|
Match environment name with a list of environment names in skipfile |
|
|
LTP installation path |
|
|
List of known unsupported test cases to be skipped |
|
|
LTP download or clone directory |
|
|
LTP clone url |
|
|
Download and build LTP from a released tarball |
|
|
Number of shards that will be done |
|
|
Which bucket to run |
Test Steps¶
- cd ./automated/linux/ltp/
- ./ltp.sh -T "${TST_CMDFILES}" -s "${SKIP_INSTALL}" -v "${LTP_VERSION}" -M "${TIMEOUT_MULTIPLIER}" -R "${ROOT_PASSWD}" -b "${BOARD}" -d "${LTP_TMPDIR}" -g "${BRANCH}" -e "${ENVIRONMENT}" -i "${LTP_INSTALL_PATH}" -S "${SKIPFILE}" -p "${TEST_DIR}" -u "${TEST_GIT_URL}" -t "${BUILD_FROM_TAR}" -n "${SHARD_NUMBER}" -c "${SHARD_INDEX}"
Refer to ltp.yaml
for complete test definition and execution details.
Expected Results¶
The sub test cases are PASS