commit | ecb8e953667ed9c3a4231c7435bcbe5c31cf4239 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Apr 12 20:03:16 2024 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Apr 13 10:07:51 2024 -0400 |
tree | e85c53f46c53150ede079e98d422916b266939ed | |
parent | 148e3a4cd499ce6d32e1814a40ecdcf51c4cd975 [diff] |
selftests: clean up how the helper function files are found by the tests Allow selftests to be run without making assumptions about the current directory. The documentation currently states that they can be run with the current directory being the selftests directory, in which case they might be run as (for example) "./appliance" or in the top-level directory, in which case they would be run as "./selftests/appliance". Signed-off-by: Theodore Ts'o <tytso@mit.edu> The selftests can be run out of the top-level directory via ./selftests/<test-script>, e.g., ./selftests/appliance, or out of the selftests directory, so they would be run via "./appliance".
The xfstests-bld project was originally designed as system to make it easy to build xfstests in way that isolated it from the versions of various libraries such as libaio, xfsprogs, that were available in a particular distribution. It has since evolved to have four primary functions:
More details about how to use xfstests-bld to carry out these three functions can be found in the Documentation directory.
If you are first getting started using xfstests, you should probably read the Quickstart guide first. If you don't know much about xfstests, you may also want to read this introduction to xfstests.
The xfstests-bld project has been made available under the terms of the GNU General Public License, version 2. A copy can be found in the file named COPYING in the distribution.