dev/chroot-test/action/refresh-auth
author Paul Crowley <paul@lshift.net>
Fri, 24 Aug 2012 13:49:55 +0100
changeset 365 f2e13e08ea13
parent 329 11db65f65fa7
permissions -rwxr-xr-x
Make it convenient to run the tests with new env vars in sudo
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