From a0703248fe1e683c296e4c3ef2a28164995b2a85 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 23 Oct 2009 16:26:09 +0200 Subject: [PATCH] tweak new messages test --- regress/tests/messages-test | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5