From: Kern Sibbald Date: Tue, 25 Nov 2008 11:50:54 +0000 (+0000) Subject: Update X-Git-Tag: Release-7.0.0~3699 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=606ff74c0def72ce3bdbc09559cd7cb41215fd2a;p=bacula%2Fbacula Update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8083 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/prepare-fake-autochanger.in b/regress/scripts/prepare-fake-autochanger.in index db9b40240c..4f04849f43 100644 --- a/regress/scripts/prepare-fake-autochanger.in +++ b/regress/scripts/prepare-fake-autochanger.in @@ -6,9 +6,9 @@ . scripts/functions adir=@working_dir@/ach +rm -rf $adir 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 <> $adir/barcodes - cp /dev/null $adir/slot$i + echo $i:vol$i >> $adir/barcodes + cp /dev/null $adir/slot$i done # make a cleaning tape @@ -32,6 +32,5 @@ cp /dev/null $adir/slot76 # keep other empty for i in `seq 77 79`; do - echo $i: >> $adir/barcodes + echo $i: >> $adir/barcodes done -