+++ /dev/null
-#!/bin/sh
-#
-# This script will prepare a big dummy autochanger
-#
-
-. scripts/functions
-
-# check if user wants to run this test
-if test x$USE_FAKETAPE = x; then
- exit 1
-fi
-
-adir=/home/kern/bacula/Branch-2.4/regress/working/ach
-
-mkdir $adir 2> /dev/null
-rm -f $adir/log $adir/barcodes $adir/load* $adir/slot* $adir/drive* 2> /dev/null
-
-# create the autochanger configuration file
-cat > $adir/conf <<EOF
-maxdrive=8
-maxslot=80
-dbgfile=$adir/log
-EOF
-
-# turn on ach debug
-touch $adir/log
-
-# create 75 volumes
-for i in `seq 1 75`; do
- echo $i:vol$i >> $adir/barcodes
- cp /dev/null $adir/slot$i
-done
-
-# make a cleaning tape
-echo 76:CLN01 >> $adir/barcodes
-cp /dev/null $adir/slot76
-
-# keep other empty
-for i in `seq 77 79`; do
- echo $i: >> $adir/barcodes
-done
-