use flat BASE for testdir
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 22 Apr 2008 11:14:10 +0000 (11:14 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 22 Apr 2008 11:14:10 +0000 (11:14 +0000)
vbuild-nightly.sh

index 760e445..3b7a186 100755 (executable)
@@ -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