The following commit has been merged in the master branch:
commit 40d6644264db8a581800a524176cece34e90a1e1
Author: Andrew Deason <[email protected]>
Date:   Thu Jul 2 19:16:40 2020 -0500

    tests: Introduce afstest_*_path()
    
    Currently, several of our tests contain logic to locate files (via
    srcdir or objdir), based on the C_TAP_SOURCE/BUILD environment
    variables. This logic is duplicated in several places, so consolidate
    the code into a couple of new functions: afstest_src_path and
    afstest_obj_path. Update all callers to use these new functions.
    
    Change-Id: I67a5e5d7f8fd7a1edb55a45e52d877ac41f9a2ea
    Reviewed-on: https://gerrit.openafs.org/14319
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: BuildBot <[email protected]>

 tests/auth/keys-t.c      |    9 +-----
 tests/cmd/Makefile.in    |    2 +-
 tests/cmd/command-t.c    |   18 +++--------
 tests/common/Makefile.in |    2 +-
 tests/common/common.h    |    5 +++
 tests/common/files.c     |   76 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/common/servers.c   |    9 +----
 tests/volser/vos-t.c     |   13 ++------
 8 files changed, 94 insertions(+), 40 deletions(-)

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

Reply via email to