From: Eric Bollengier Date: Fri, 23 Oct 2009 14:26:09 +0000 (+0200) Subject: tweak new messages test X-Git-Tag: Release-7.0.0~2598^2~59^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4e6ea8cdb74292ad0ca020201c2ec6fa2b02c104;p=bacula%2Fbacula tweak new messages test --- diff --git a/regress/tests/messages-test b/regress/tests/messages-test index 84093986c8..918943805f 100755 --- a/regress/tests/messages-test +++ b/regress/tests/messages-test @@ -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