X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fexperimental-all;h=bf4a41dbc33289acd537f414c0dbdce26429bf7e;hb=ded4a82b58a852cd75fc13ba594d628b7cf9aec7;hp=0b920218a54d85d9f26467feec9de5f1e9f611bb;hpb=436bec9677c2783a576c1baf4f0cbdb36d4bf5f0;p=bacula%2Fbacula diff --git a/regress/experimental-all b/regress/experimental-all index 0b920218a5..bf4a41dbc3 100755 --- a/regress/experimental-all +++ b/regress/experimental-all @@ -3,22 +3,28 @@ # test only the disk based regression scripts # # Include full output +LANG=C echo "Begin experimental-all `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 "^(disk|tape|changer):" -if [ $? != 0 ] ; then +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 ExperimentalSubmit - if [ $? != 0 ] ; then - echo "Submit failed, waiting 5 mins" - sleep 300 - echo "ctest failed re-running Submit a second time" - ctest -D ExperimentalSubmit - fi -fi + rtn=$? + i=`expr $i + 1` +done REGRESS_DEBUG=${save_debug} echo "End experimental-all `date`"