dev/chroot-test/action/refresh-auth
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:35 +0100
changeset 371 e9ce904b62a9
parent 329 11db65f65fa7
permissions -rwxr-xr-x
[test] add unit tests for ruleset We extract the rules building logic from readfile into a Ruleset.buildrules() method to ease testing.

#!/bin/sh

set -e

. /action/env

if ${CHROOT_TEST_INSTALLDEB:-false} ; then
    /usr/share/mercurial-server/refresh-auth
else
    /usr/local/share/mercurial-server/refresh-auth
fi