]> git.sur5r.net Git - bacula/bacula/blob - regress/all-tape-tests
Backport from Bacula Enterprise
[bacula/bacula] / regress / all-tape-tests
1 #!/bin/sh
2 #
3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
5 #
6
7 #
8 # ./run all tape tests
9 #
10 . ./config
11
12
13 # If we have an autoloader, load the tape in slot1
14 if test ! x$AUTOCHANGER = x/dev/null ; then
15    a=`bin/mtx-changer $AUTOCHANGER loaded $SLOT1 $TAPE_DRIVE $DRIVE1`
16    if test $a = 0 ; then
17       bin/mtx-changer $AUTOCHANGER load $SLOT1 $TAPE_DRIVE $DRIVE1
18    fi
19 fi
20 echo " "
21 echo " " >>test.out
22 echo "Start all non-root tape tests"
23 echo "Start all non-root tape tests" >>test.out
24 rm -f dumps/*
25 ./run tests/ansi-label-tape
26 ./run tests/backup-bacula-tape
27 ./run tests/bscan-tape
28 ./run tests/fixed-block-size-tape
29 ./run tests/four-concurrent-jobs-tape
30 ./run tests/four-jobs-tape
31 ./run tests/incremental-tape
32 ./run tests/relabel-tape
33 ./run tests/restore-by-file-tape
34 ./run tests/small-file-size-tape
35 ./run tests/truncate-bug-tape
36 ./run tests/verify-vol-tape
37 # ./run tests/manual-two-vol-tape
38 echo "End all non-root tape tests"
39 echo "End all non-root tape tests" >>test.out