]> git.sur5r.net Git - bacula/bacula/commitdiff
Turn off regression emails
authorKern Sibbald <kern@sibbald.com>
Sun, 6 Apr 2008 09:30:19 +0000 (09:30 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 6 Apr 2008 09:30:19 +0000 (09:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6745 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/functions
regress/tests/big-vol-test

index 6518f0f034e444c67b5cc90bfa1a496629977669..ec5d4d36678f964ca43dd355dea837da5876ac1c 100644 (file)
@@ -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` ==="
index 21e4167737db407728a4794c629bb85c51c3a1a5..b63200eb731ebbdc3bcbfa50ace3ce8564e15eed 100755 (executable)
@@ -8,8 +8,8 @@ TestName="big-vol-test"
 JobName=bigvol
 . scripts/functions
 
-scripts/cleanup
-scripts/copy-test-confs
+copy_test_confs
+
 cwd=`pwd`
 echo "${cwd}/build" >${cwd}/tmp/file-list
 
@@ -21,7 +21,7 @@ cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 messages
 @$out ${cwd}/tmp/log1.out
 @#setdebug level=100 storage=File
-label storage=File volume=TestVolume001
+label storage=File volume=TestVolume001 pool=Default
 run job=$JobName yes
 wait
 messages