-
Notifications
You must be signed in to change notification settings - Fork 7
User Guidelines
For compiling, installing and running the tests see README.md
.
For running LTP network tests see testcases/network/README.md
.
KCONFIG_PATH |
The path to the kernel config file, (if not set, it tries the usual paths /boot/config-RELEASE or /proc/config.gz). |
KCONFIG_SKIP_CHECK |
Skip kernel config check if variable set (not set by default). |
LTPROOT |
Prefix for installed LTP, the default is /opt/ltp. Should be always set as some tests need it for path to test data files (LTP_DATAROOT). |
LTP_COLORIZE_OUTPUT |
By default LTP colorizes it’s output unless using pipe or redirect to file. Force colorized output behaviour: y or 1: always colorize, n or 0: never colorize. |
LTP_DEV |
Path to the block device to be used (C: .needs_device = 1, shell: TST_NEEDS_DEVICE=1). |
LTP_SINGLE_FS_TYPE |
Testing only - specifies filesystem instead all supported (for tests with .all_filesystems). |
LTP_DEV_FS_TYPE |
Filesystem used for testing (default: ext2). |
LTP_TIMEOUT_MUL |
Multiply timeout, must be number >= 1 (> 1 is useful for slow machines to avoid unexpected timeout). Variable is also used in shell tests, but ceiled to int. |
LTP_VIRT_OVERRIDE |
Overrides virtual machine detection in the test library. Setting it to empty string tell the library that system is not a virtual machine. Other possible values are kvm, xen, zvm and microsoft that describe different types supervisors. |
PATH |
It’s required to addjust path:
|
TMPDIR |
Base directory for template directory (C: .needs_tmpdir = 1 and others, which imply it, shell: TST_NEEDS_TMPDIR=1). |
TST_NO_CLEANUP |
Disable running test cleanup (defined in TST_CLEANUP). |