3 # This script will prepare a big dummy autochanger
8 # check if user wants to run this test
9 if test x$USE_VTAPE = x; then
13 adir=@working_dir@/ach
15 mkdir $adir 2> /dev/null
16 rm -f $adir/log $adir/barcodes $adir/load* $adir/slot* $adir/drive* 2> /dev/null
18 # create the autochanger configuration file
19 cat > $adir/conf <<EOF
29 for i in `seq 1 75`; do
30 echo $i:vol$i >> $adir/barcodes
31 cp /dev/null $adir/slot$i
34 # make a cleaning tape
35 echo 76:CLN01 >> $adir/barcodes
36 cp /dev/null $adir/slot76
39 for i in `seq 77 79`; do
40 echo $i: >> $adir/barcodes