Nfs-utils unit tests

From Linux NFS

(Difference between revisions)
Jump to: navigation, search
Chucklever (Talk | contribs)
(Add details about the nfs-utils unit test project)
Newer edit →

Revision as of 21:37, 7 August 2007

Add unit test infrastructure to nfs-utils

  • For an example, see the t/ directory in the git source repository. I don't think these scripts are original to git.
  • Separate infrastructure can be used to test the mount commands, the exportfs command, and rpc.mountd, in order to break the project up into smaller bite-size chunks.
  • By setting up an NFS client and server on the same host, the unit test scripts can easily manipulate both sides of the traffic, and apply iptables filters as needed to emulate typical firewall configurations.
Personal tools