OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-496-g0b8b668

Gerrit Code Review gerrit@openafs.org
Fri, 20 Dec 2019 11:31:36 -0500


The following commit has been merged in the master branch:
commit 0b8b6683fb525bbeaf118014beb2371e0cf23d90
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Mon Nov 11 20:34:27 2019 -0600

    tests: Fix manpage tests for objdir builds
    
    The manpage tests have a couple of problems when running for objdir
    builds:
    
    - We try to specify './tests-lib/perl5' as a directory to find our
      helper library. However, the cwd when we're running the tests is in
      an objdir build, where the helper library is in the srcdir. Fix this
      by using the SOURCE env var specified by the tests wrapper.
    
    - All of these tests specify the directory in which to find the man
      pages in a subdir of BUILD, but our manpages are located in the src
      dir (since they are built by regen.sh, not by configure/make). Fix
      this by specifying a SOURCE-based directory instead.
    
    To avoid needing to make the same change for each of these tests, also
    refactor the manpage tests so each test only needs to specify the
    subdirectory and command name, and get rid of some of the common
    boilerplate.
    
    Change-Id: I96be199b1dec8db0545ae3cf19d2595c4afe4cdd
    Reviewed-on: https://gerrit.openafs.org/13940
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 tests/bozo/bos-man-t                    |   21 +------------------
 tests/bucoord/backup-man-t              |   21 +------------------
 tests/kauth/kas-man-t                   |   21 +------------------
 tests/ptserver/pts-man-t                |   21 +------------------
 tests/tests-lib/perl5/mancheck_utils.pm |   32 +++++++++++++++++++++++++++---
 tests/venus/fs-man-t                    |   21 +------------------
 tests/volser/vos-man-t                  |   20 +-----------------
 7 files changed, 40 insertions(+), 117 deletions(-)

-- 
OpenAFS Master Repository