git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6746
91ce42f0-d328-0410-95d8-
f526ca767f89
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` ==="
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