mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
83ac1558b6
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>
10 lines
174 B
Plaintext
10 lines
174 B
Plaintext
package TEST_
|
|
prefix S
|
|
|
|
const TEST_SERVICE_ID = 4;
|
|
|
|
CanI(OUT int *result) = 1;
|
|
WhoAmI(OUT string name<>) = 2;
|
|
NewCanI(OUT int *result) = 3;
|
|
NewWhoAmI(OUT string name<>) = 4;
|