]> git.sur5r.net Git - bacula/bacula/blob - regress/experimental-disk
Possible fix for big-files-test
[bacula/bacula] / regress / experimental-disk
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 `date`"
8 save_debug=${REGRESS_DEBUG}
9 REGRESS_DEBUG=1
10 export REGRESS_DEBUG
11 rm -rf Testing
12 git pull
13 scripts/config_dart
14 make setup
15 nice ctest -D Experimental -R "^disk:"
16 rtn=$?
17 i=0
18 while [ $i -le 5 ]; do
19    if [ $rtn = 0 ] || [ "$rtn" = "8" ]; then
20       break;
21    fi
22    echo "Submit failed, waiting 5 mins"
23    sleep 300
24    echo "ctest failed re-running Submit"
25    ctest -D ExperimentalSubmit
26    rtn=$?
27    i=`expr $i + 1`
28 done
29 REGRESS_DEBUG=${save_debug}
30 echo "End experimental-disk `date`"