OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-133-gb500a76
Gerrit Code Review
gerrit@openafs.org
Mon, 21 Feb 2022 20:42:57 -0500
The following commit has been merged in the master branch:
commit b500a76a06cebda4e0ee5855d9b795323a6f34c8
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Tue Jun 22 00:28:54 2021 -0400
libadmin: allow tests to skip authentication setup
src/libadmin/test/afscp is a testbed with subcommands to test many
libadmin functions. Almost all of these subcommands call
SetupCommonArgs to add authentication specification arguments (e.g.
-noauth, -cell <cell>, etc). These common args are checked in
MyBeforeProc to obtain authentication before processing the actual test
subcommand.
However, some afscp subcommands shouldn't need any authentication setup,
for example:
UtilErrorTranslate -error <code>
UtilNameToAddress -host <hostname>
In preparation for a future commit, modify MyBeforeProc to skip
authentication setup for subcommands that haven't called SetupCommonArgs
to define authentication options.
Change-Id: I3d6be062c8264ece8eb27c3b2b72c8c45aacae56
Reviewed-on: https://gerrit.openafs.org/14646
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/libadmin/test/afscp.c | 3 +++
1 file changed, 3 insertions(+)
--
OpenAFS Master Repository