]> git.sur5r.net Git - bacula/bacula/blob - regress/experimental-tape
Use if exists on dropping MAC table in postgres. Fixes bug #2314
[bacula/bacula] / regress / experimental-tape
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-tape `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 nice ctest -D Experimental -R "^tape:"
21 rtn=$?
22 i=0
23 while [ $i -le 5 ]; do
24    if [ $rtn = 0 ] || [ "$rtn" = "8" ] ; then
25       break;
26    fi
27    echo "Submit failed, waiting 5 mins"
28    sleep 300
29    echo "ctest failed re-running Submit"
30    ctest -D ExperimentalSubmit
31    rtn=$?
32    i=`expr $i + 1`
33 done
34 REGRESS_DEBUG=${save_debug}
35 echo "End experimental-tape `date`"