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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
283
01eca64f77ab Break out all the stuff that needs to be different for Debian into separate files
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
#!/bin/sh
01eca64f77ab Break out all the stuff that needs to be different for Debian into separate files
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
01eca64f77ab Break out all the stuff that needs to be different for Debian into separate files
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
set -e
01eca64f77ab Break out all the stuff that needs to be different for Debian into separate files
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
326
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
     5
. /action/env
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
     6
329
11db65f65fa7 Default to non-deb based test
Paul Crowley <paul@lshift.net>
parents: 326
diff changeset
     7
if ${CHROOT_TEST_INSTALLDEB:-false} ; then
326
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
     8
    /usr/share/mercurial-server/refresh-auth
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
     9
else
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
    10
    /usr/local/share/mercurial-server/refresh-auth
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
    11
fi