(test suite) dont put adc's in /tmp
This commit is contained in:
parent
f48a0b9d73
commit
fdf424ea4f
|
@ -6,10 +6,10 @@ do
|
|||
editrc GL_BIG_CONFIG $bc
|
||||
editrc GL_WILDREPOS 1
|
||||
|
||||
rm -rf /tmp/glt-adc
|
||||
mkdir /tmp/glt-adc || die "mkdir /tmp/glt-adc failed"
|
||||
cp ../contrib/adc/* /tmp/glt-adc
|
||||
echo "\$GL_ADC_PATH = '/tmp/glt-adc';" | addrc
|
||||
rm -rf $ADC_PATH
|
||||
mkdir $ADC_PATH || die "mkdir $ADC_PATH failed"
|
||||
cp ../contrib/adc/* $ADC_PATH
|
||||
echo "\$GL_ADC_PATH = '$ADC_PATH';" | addrc
|
||||
runremote rm -f .gitolite.down
|
||||
|
||||
# ----------
|
||||
|
|
|
@ -6,10 +6,10 @@ do
|
|||
editrc GL_BIG_CONFIG $bc
|
||||
editrc GL_WILDREPOS 1
|
||||
|
||||
rm -rf /tmp/glt-adc
|
||||
mkdir /tmp/glt-adc || die "mkdir /tmp/glt-adc failed"
|
||||
cp ../contrib/adc/* /tmp/glt-adc
|
||||
echo "\$GL_ADC_PATH = '/tmp/glt-adc';" | addrc
|
||||
rm -rf $ADC_PATH
|
||||
mkdir $ADC_PATH || die "mkdir $ADC_PATH failed"
|
||||
cp ../contrib/adc/* $ADC_PATH
|
||||
echo "\$GL_ADC_PATH = '$ADC_PATH';" | addrc
|
||||
runremote rm -f .gitolite.down
|
||||
|
||||
# ----------
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# some defines
|
||||
export ADC_PATH="$HOME/glt-adc"
|
||||
|
||||
# are we in the right place
|
||||
cd ${0%/*}
|
||||
git rev-parse --show-toplevel || die should run t/test-driver.sh from a clone of gitolite
|
||||
|
|
Loading…
Reference in a new issue