tests: Add tests for afsconf_'s key functions
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 27 Dec 2010 20:29:48 +0000 (20:29 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 27 Dec 2010 22:39:37 +0000 (14:39 -0800)
commit9f17cef3d3614d79b3ab2dc6807f9d0f928ab6db
tree26c1bd8cfed5d26bcf265f0bc71ed9dd6798a520
parent8992210f27671673a89a541776aa105238ad14cf
tests: Add tests for afsconf_'s key functions

Add tests for all of the public functions that afsconf exports
to manipulate KeyFiles. Include a sample Keyfile to start with, to
ensure that we can continue to read KeyFiles produced by current
versions of the code.

These tests are here to catch regressions with a forthcoming rewrite
of KeyFile handling.

Change-Id: I02aaff82aa7e1b7a73981c7cf26a81164e0dd932
Reviewed-on: http://gerrit.openafs.org/3598
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
tests/TESTS
tests/auth/.gitignore
tests/auth/KeyFile [new file with mode: 0644]
tests/auth/Makefile.in
tests/auth/keys-t.c [new file with mode: 0644]
tests/auth/writekeyfile.c [new file with mode: 0644]