]> git.sur5r.net Git - bacula/bacula/commitdiff
Comment out schedule in backup-bacula-test
authorKern Sibbald <kern@sibbald.com>
Thu, 10 Apr 2008 18:31:50 +0000 (18:31 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 10 Apr 2008 18:31:50 +0000 (18:31 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6793 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/backup-bacula-test

index cc0fa32c2aeb8b2b096eaf6552eccd3bb809174b..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