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