sed -f ${out} ${cwd}/scripts/bacula-dir.conf.testrunscript.in >${cwd}/scripts/bacula-dir.conf.testrunscript
sed -f ${out} ${cwd}/scripts/bacula-dir-faketape.conf.in >${cwd}/scripts/bacula-dir-faketape.conf
sed -f ${out} ${cwd}/scripts/bacula-sd-faketape.conf.in >${cwd}/scripts/bacula-sd-faketape.conf
-sed -f ${out} ${cwd}/scripts/prepare-big-autochanger.in >${cwd}/scripts/prepare-big-autochanger
+sed -f ${out} ${cwd}/scripts/prepare-fake-autochanger.in >${cwd}/scripts/prepare-fake-autochanger
sed -f ${out} ${cwd}/scripts/tls-bacula-fd.conf.in >${cwd}/scripts/tls-bacula-fd.conf
sed -f ${out} ${cwd}/scripts/tls-bacula-sd.conf.in >${cwd}/scripts/tls-bacula-sd.conf
sed -f ${out} ${cwd}/scripts/tls-bacula-dir.conf.in >${cwd}/scripts/tls-bacula-dir.conf
+++ /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=@working_dir@/ach
-
-mkdir $adir 2> /dev/null
-rm -f $adir/log $adir/barcodes $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
-
--- /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=@working_dir@/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
+
scripts/copy-tape-confs
cp scripts/bacula-dir-faketape.conf bin/bacula-dir.conf
cp scripts/bacula-sd-faketape.conf bin/bacula-sd.conf
-scripts/prepare-big-autochanger
+scripts/prepare-fake-autochanger
echo "${cwd}/build" >${cwd}/tmp/file-list