From 606ff74c0def72ce3bdbc09559cd7cb41215fd2a Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 25 Nov 2008 11:50:54 +0000 Subject: [PATCH] Update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8083 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/scripts/prepare-fake-autochanger.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 - -- 2.39.5