test-appliance: add support for testing explicit NFS versions

Using "gce-xfstests -c nfs/loopback -g quick" will test whatever
version of NFS that gets negotiated, which means in practice it will
be dependent on what is compiled into the kernel.  (The kernel will
first try NFSv4, then NFSv3, and then fallback NFSv2 last.)  So an
explicit NFS version can be specified via "-c nfs/loopback_v4" or
"-c nfs/client_v3".

NFSv2 support in the Linux's nfsd is disabled by default, so we
explicitly enable it by editing /etc/default/nfs-kernel-server.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
13 files changed
tree: 6b3f367b2482fae5afcc0212d868fd0ab18cdbe6
  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. .travis.yml
  15. build-all
  16. config
  17. COPYING
  18. do-all
  19. do-update
  20. Dockerfile
  21. gen-tarball
  22. get-all
  23. get-versions
  24. Makefile
  25. README.md
  26. setup-buildchroot
  27. 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 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.

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.