]> git.sur5r.net Git - bacula/bacula/commitdiff
tweak new messages test
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 23 Oct 2009 14:26:09 +0000 (16:26 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 23 Oct 2009 14:26:09 +0000 (16:26 +0200)
regress/tests/messages-test

index 84093986c87e34411a30375be921723df7ebf4ef..918943805f3f8c6f3ad4d6610f43af43a8261077 100755 (executable)
@@ -2,6 +2,8 @@
 #
 # Run a simple backup of the Bacula build directory
 #   then restore it.
+# We have bad configuration for Messages resources, everything
+# should work
 #
 TestName="messages-test"
 JobName=backup
@@ -16,8 +18,11 @@ scripts/copy-confs
 #
 outf="$tmp/sed_tmp"
 echo "s%  Schedule =%# Schedule =%g" >$outf
+
+# tweak all Messages {} with non valid path
 echo 's%append = "%append = "/nowhere%g' >> $outf
 echo 's%mailcommand = "%mailcommand = "/nowhere%g' >> $outf
+
 cp $scripts/bacula-dir.conf $tmp/1
 sed -f ${outf} $tmp/1 >$scripts/bacula-dir.conf