xfstests-bld: add an android-xfstests command

Add a command android-xfstests which has an interface similar to
kvm-xfstests and gce-xfstests, but runs xfstests on the internal storage
of an Android device instead.  It works by setting up temporary
partitions in space freed up by reformatting the userdata filesystem
with a smaller size, then running the tests in a Debian chroot.  More
information can be found in the documentation in android-xfstests.md.

Some features of kvm-xfstests and gce-xfstests, such as selecting the
kernel to use, are not yet implemented for android-xfstests but may be
possible to add later.

So far I have only tested android-xfstests on two devices, but it's
intended to work on other devices too.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
18 files changed
tree: a21a051cc96a584543c553c40fab5095bbb627ac
  1. acl/
  2. android-compat/
  3. attr/
  4. dbench/
  5. Documentation/
  6. e2fsprogs-libs/
  7. kernel-configs/
  8. kvm-xfstests/
  9. libaio/
  10. misc/
  11. popt/
  12. .dockerignore
  13. .gitignore
  14. build-all
  15. config
  16. COPYING
  17. do-all
  18. do-update
  19. Dockerfile
  20. gen-tarball
  21. get-all
  22. Makefile
  23. README
  24. README.md
  25. update-all
README.md

xfstests-bld

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 three 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.

License

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.