The following commit has been merged in the master branch:
commit b500a76a06cebda4e0ee5855d9b795323a6f34c8
Author: Mark Vitale <[email protected]>
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 <[email protected]>
    Tested-by: BuildBot <[email protected]>

 src/libadmin/test/afscp.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to