]> git.sur5r.net Git - bacula/bacula/blob - regress/nightly-tape
Add new Spanish files translated
[bacula/bacula] / regress / nightly-tape
1 #!/bin/sh
2 #
3 # test only the disk based regression scripts
4 #
5 # Include full output
6 LANG=C
7 echo "Begin nightly-tape `date`"
8 save_debug=${REGRESS_DEBUG}
9 REGRESS_DEBUG=1
10 export REGRESS_DEBUG
11 rm -rf Testing
12 svn update
13 make distclean
14 scripts/config_dart
15 nice ctest -D Nightly -R "^tape:"
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 NightlySubmit
26    rtn=$?
27    i=`expr $i + 1`
28 done
29 REGRESS_DEBUG=${save_debug}
30 echo "End nightly-tape `date`"