From: Thierry Parmentelat Date: Tue, 22 Apr 2008 11:14:10 +0000 (+0000) Subject: use flat BASE for testdir X-Git-Tag: 4.2-rc2~15 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0fa6f7f47bfa39a15fcc7dd0ea8e62799648c7eb;p=build.git use flat BASE for testdir --- diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 760e445e..3b7a186b 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -174,10 +174,8 @@ function runtest () { fi url=$(echo $rpm | sed -e "s,/vservers/$BASE/build,${TESTBUILDURL}${PLDISTRO}/${BASE},") - # compute test directory name on test box - testdir=chroot-${BASE} - # use another name if any config contains vserver - echo $TESTCONFIG | grep vserver &> /dev/null && testdir=vserver-${BASE} + # test directory name on test box + testdir=${BASE} # clean it ssh ${TESTBOXSSH} rm -rf ${testdir} # check it out