]> git.sur5r.net Git - bacula/bacula/blob - regress/run_multiple
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / run_multiple
1 #!/bin/sh
2 #
3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
5 #
6
7 if [ $# != 1 ] ; then
8   echo " "
9   echo "Missing test name ..."
10   echo "./run_multiple test/<test-name>"
11   echo " "
12   exit 1
13 fi
14 ./starttime
15 export REGRESS_DEBUG=1
16 for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ; do
17   echo "$i. Doing $1 at `date +%R:%S`"
18   nice ./run $1 >1
19   r=$?
20   if [ $r -ne 0 ] ; then
21      echo "Exit $r"
22      exit 1
23   fi
24 done
25 ./endtime