OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-866-g4953ce8

Gerrit Code Review gerrit@openafs.org
Sun, 13 Mar 2011 13:39:32 -0700 (PDT)


The following commit has been merged in the master branch:
commit 4953ce8070497bc494e624d72271bcbc5dc1dbe7
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Sun Mar 13 14:45:04 2011 +0000

    pt_util: Initialise empty database correctly
    
    Commit dc8f18d6f5003712bc9ef989363137a84953df07 broke pt_util's
    initialisation of empty databases. This is because Initdb was changed
    to call Initdb_check through the ubik_CheckCache wrapper. However, that
    wrapper was defined as a no-op in pt_util's ubik-shim.
    
    Modify pt_util's ubik_CheckCache so that it always calls into the
    wrapper routine - this mimics the old behaviour.
    
    Add a trival test for pt_util - check that we can build the database,
    using the example from the manpage, and then that the built database
    matches what we expect.
    
    Change-Id: I41aa9f6a531662230ed625cc3b1307016ef4107f
    Reviewed-on: http://gerrit.openafs.org/4211
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/ptserver/ubik.c      |    2 +-
 tests/TESTS              |    1 +
 tests/ptserver/pt_util-t |   53 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository