]> git.sur5r.net Git - bacula/bacula/blob - regress/all-tape-tests
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / all-tape-tests
1 #!/bin/sh
2 #
3 # Copyright (C) 2000-2017 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
5 #
6 # ./run all tape tests
7 #
8 . ./config
9
10
11 # If we have an autoloader, load the tape in slot1
12 if test ! x$AUTOCHANGER = x/dev/null ; then
13    a=`bin/mtx-changer $AUTOCHANGER loaded $SLOT1 $TAPE_DRIVE $DRIVE1`
14    if test $a -eq 0 ; then
15       bin/mtx-changer $AUTOCHANGER load $SLOT1 $TAPE_DRIVE $DRIVE1
16    fi
17 fi
18 echo " "
19 echo " " >>test.out
20 if test x$FORCE_DEDUP = xyes ; then
21    echo "All tape tests skipped for FORCE_DEDUP"
22    exit 0
23 fi
24 if test x$FORCE_ALIGNED = xyes ; then
25    echo "All tape tests skipped for FORCE_ALIGNED"
26    exit 0
27 fi
28 if test x$FORCE_CLOUD = xyes ; then
29    echo "All tape tests skipped for FORCE_CLOUD"
30    exit 0
31 fi
32 echo "Start all non-root tape tests"
33 echo "Start all non-root tape tests" >>test.out
34 rm -f dumps/*
35 ./run tests/ansi-label-tape
36 ./run tests/backup-bacula-tape
37 ./run tests/bscan-tape
38 ./run tests/fixed-block-size-tape
39 ./run tests/four-concurrent-jobs-tape
40 ./run tests/four-jobs-tape
41 ./run tests/incremental-tape
42 ./run tests/relabel-tape
43 ./run tests/restore-by-file-tape
44 ./run tests/small-file-size-tape
45 ./run tests/truncate-bug-tape
46 ./run tests/verify-vol-tape
47 # ./run tests/manual-two-vol-tape
48 echo "End all non-root tape tests"
49 echo "End all non-root tape tests" >>test.out