X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fexperimental-tape;h=618d3701fccc3f907ef0ca041c817b052d5b00a9;hb=HEAD;hp=96742e6367ff2663b28235e7a65133f7a3e425fc;hpb=8dae6fa4674ca265bb84b74948a9cd23df422f7b;p=bacula%2Fbacula diff --git a/regress/experimental-tape b/regress/experimental-tape index 96742e6367..618d3701fc 100755 --- a/regress/experimental-tape +++ b/regress/experimental-tape @@ -1,16 +1,35 @@ #!/bin/sh +# +# Copyright (C) 2000-2015 Kern Sibbald +# License: BSD 2-Clause; see file LICENSE-FOSS +# + # # test only the disk based regression scripts # # Include full output +LANG=C +echo "Begin experimental-tape `date`" save_debug=${REGRESS_DEBUG} REGRESS_DEBUG=1 export REGRESS_DEBUG -svn update +rm -rf Testing +rm -f dumps/* +git pull scripts/config_dart -nice ctest -D Experimental -R "all-non-root-tape:" -if [ $? != 0 ] ; then +nice ctest -D Experimental -R "^tape:" +rtn=$? +i=0 +while [ $i -le 5 ]; do + if [ $rtn = 0 ] || [ "$rtn" = "8" ] ; then + break; + fi + echo "Submit failed, waiting 5 mins" + sleep 300 echo "ctest failed re-running Submit" - ctest -D NightlySubmit -fi + ctest -D ExperimentalSubmit + rtn=$? + i=`expr $i + 1` +done REGRESS_DEBUG=${save_debug} +echo "End experimental-tape `date`"