From: Kern Sibbald Date: Sun, 6 Apr 2008 09:31:48 +0000 (+0000) Subject: Turn off regression emails X-Git-Tag: Release-3.0.0~1604 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a78cb319ca883e8007345af50b2a2608cd839fb0;p=bacula%2Fbacula Turn off regression emails git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6746 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/functions b/regress/scripts/functions index a2d22457a1..ec5d4d3667 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -4,6 +4,12 @@ start_test() { + # Turn off email + outf="tmp/sed_tmp" + echo "s% mail =%# mail = %g" >${outf} + echo "s% operator =%# operator =%g" >>${outf} + cp bin/bacula-dir.conf tmp/1 + sed -f ${outf} tmp/1 >bin/bacula-dir.conf echo " " echo " " echo " === Starting $TestName at `date +%R:%S` ===" @@ -205,7 +211,7 @@ end_test() else echo " ===== $TestName OK `date +%R:%S` ===== " echo " ===== $TestName OK `date +%R:%S` ===== " >>test.out - if [ $debug -eq 0 ] ; then + if test "$debug" -eq 0 ; then scripts/cleanup fi fi