From 1c61c07ac4c9c6e1e5df866d6e006c1757ffd9bd Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 25 Oct 2009 15:17:31 +0100 Subject: [PATCH] Show an other deadlock in messages.c --- regress/tests/messages-test | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/regress/tests/messages-test b/regress/tests/messages-test index a8456a79a8..454a4d7940 100755 --- a/regress/tests/messages-test +++ b/regress/tests/messages-test @@ -11,7 +11,8 @@ JobName=backup scripts/cleanup scripts/copy-confs - +change_jobname BackupClient1 $JobName +start_test # # Zap out any schedule in default conf file so that # it doesn't start during our test @@ -21,13 +22,13 @@ 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 +echo "s%bsmtp -h $SMTP_HOST%bsmtp -h nonvalidhost%g" >> $outf +echo 's%# mail% mail%' >> $outf +#echo 's%mailcommand = "%mailcommand = "/nowhere%g' >> $outf cp $scripts/bacula-dir.conf $tmp/1 sed -f ${outf} $tmp/1 >$scripts/bacula-dir.conf -change_jobname BackupClient1 $JobName -start_test cat <$tmp/bconcmds @$out /dev/null -- 2.39.5