cd $build
rpm=$(find RPMS -name myplc\*.rpm )
url=${TESTBUILDURL}${DISTRO}/${buildname}/${rpm}
-
+ latestbuild=${TESTBUILDURL}${DISTRO}/${buildname}/
### checkout the test material
svn co ${TESTSVNPATH} plctest
# compute test directory name on test box
ssh ${TESTBOXSSH} mkdir -p ${testdir}
rsync -a -v plctest/ ${TESTBOXSSH}:${testdir}
# invoke test on testbox
- ssh ${TESTBOXSSH} python -u ${testdir}/${TESTSCRIPT} ${url}
+ ssh ${TESTBOXSSH} python -u ${testdir}/${TESTSCRIPT} ${url} ${latestbuild}
if [ "$?" != 0 ] ; then
failure
fi