]> git.sur5r.net Git - bacula/bacula/blob - regress/do_all_tests
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / do_all_tests
1 #!/bin/sh
2 #
3 # Copyright (C) 2000-2017 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
5 #
6
7 ./starttime
8 if [ ! -f bin/tape_options ] ; then
9   touch bin/tape_options
10 fi
11 echo " " >test.out
12 if [ x$PREBUILT != xyes ]; then
13   git status >>test.out 2>&1
14   cat build/config.out >>test.out
15 fi
16 echo " " >>test.out
17 if [ x$FORCE_DEDUP = xyes ]; then
18   echo "Test results with dedup" >>test.out
19 elif [ x$FORCE_ALIGNED = xyes ]; then
20   echo "Test results with aligned" >>test.out
21 elif [ x$FORCE_CLOUD = xyes ]; then
22   echo "Test results with cloud" >>test.out
23 else
24   echo "Test results" >>test.out
25 fi
26 echo " " >>test.out
27 ./starttime
28 ./all-disk-tests
29 ./all-tape-tests
30 ./all-changer-tests
31 echo " "
32 echo "End do_all tests"
33 echo "End do_all tests" >>test.out
34 ./endtime >>test.out
35 scripts/cleanup
36 cat test.out
37 ./endtime
38 date