]> git.sur5r.net Git - bacula/bacula/blob - regress/experimental-disk-and-tape
Forgot to add the images for the new button.
[bacula/bacula] / regress / experimental-disk-and-tape
1 #!/bin/sh
2 #
3 # test only the disk based regression scripts
4 #
5 # Include full output
6 LANG=C
7 echo "Begin experimental-disk-and-tape `date`"
8 save_debug=${REGRESS_DEBUG}
9 REGRESS_DEBUG=1
10 export REGRESS_DEBUG
11 rm -rf Testing
12 svn update
13 scripts/config_dart
14 nice ctest -D Experimental -R "^(disk|tape):"
15 rtn=$?
16 i=0
17 while [ $i -le 5 ]; do
18    if [ $rtn = 0 ] || [ "$rtn" = "8" ] ; then
19       break;
20    fi
21    echo "Submit failed, waiting 5 mins"
22    sleep 300
23    echo "ctest failed re-running Submit"
24    ctest -D ExperimentalSubmit
25    rtn=$?
26    i=`expr $i + 1`
27 done
28 REGRESS_DEBUG=${save_debug}
29 echo "End experimental-disk-and-tape `date`"