]> git.sur5r.net Git - bacula/bacula/blob - regress/experimental-disk
Remove unused variable to elimiate compiler warning
[bacula/bacula] / regress / experimental-disk
1 #!/bin/sh
2 #
3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
5 #
6
7 #
8 # test only the disk based regression scripts
9 #
10 # Include full output
11 LANG=C
12 echo "Begin experimental-disk `date`"
13 save_debug=${REGRESS_DEBUG}
14 REGRESS_DEBUG=1
15 export REGRESS_DEBUG
16 rm -rf Testing
17 rm -f dumps/*
18 git pull
19 scripts/config_dart
20 make setup
21 nice ctest -D Experimental -R "^disk:"
22 rtn=$?
23 i=0
24 while [ $i -le 5 ]; do
25    if [ $rtn = 0 ] || [ "$rtn" = "8" ]; then
26       break;
27    fi
28    echo "Submit failed, waiting 5 mins"
29    sleep 300
30    echo "ctest failed re-running Submit"
31    ctest -D ExperimentalSubmit
32    rtn=$?
33    i=`expr $i + 1`
34 done
35 REGRESS_DEBUG=${save_debug}
36 echo "End experimental-disk `date`"