OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-591-g676a4ef
Gerrit Code Review
gerrit@openafs.org
Sun, 26 Dec 2010 10:59:31 -0800 (PST)
The following commit has been merged in the master branch:
commit 83ac1558b6cc8245166d997a44297eb197348616
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Dec 24 18:32:30 2010 +0000
auth: Add more tests and resulting fixes to userok
Add tests for the functions afsconf_SuperUser() and
afsconf_SuperIdentity(). These had been missing tests because testing
them requires starting a client and a server, so amend the superuser-t
tests so that they can start up a simple server.
Fix a number of problems that the tests expose, with setting (and
freeing) identities in corner cases.
Change-Id: I29f5f9eda7f532c98183d588e488d704f8efad88
Reviewed-on: http://gerrit.openafs.org/3593
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/auth/userok.c | 21 ++-
tests/auth/.gitignore | 1 +
tests/auth/Makefile.in | 22 +++-
tests/auth/superuser-t.c | 382 ++++++++++++++++++++++++++++++++++++++++++----
tests/auth/test.xg | 9 +
5 files changed, 395 insertions(+), 40 deletions(-)
--
OpenAFS Master Repository