]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/backup-bacula-test
ebl update and make it working
[bacula/bacula] / regress / tests / backup-bacula-test
index 0815c38316630e96ac76638ddf4c295e2928a681..d4ab848716fd5676ee0761d34a3edc3f05065b96 100755 (executable)
@@ -10,6 +10,15 @@ JobName=backup
 scripts/cleanup
 scripts/copy-confs
 
+#
+# Zap out any schedule in default conf file so that
+#  it doesn't start during our test
+#
+outf="tmp/sed_tmp"
+echo "s%  Schedule =%# Schedule =%g" >${outf}
+cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
+sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
+
 change_jobname Client1 $JobName
 start_test
 
@@ -17,8 +26,8 @@ cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @output /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
+setdebug level=100 storage=File
 label volume=TestVolume001 storage=File pool=Default
-@#setdebug level=100 storage=File
 run job=$JobName yes
 status storage=File
 status storage=File