From: Kern Sibbald Date: Sat, 12 Jun 2004 13:35:28 +0000 (+0000) Subject: Update test X-Git-Tag: Release-7.0.0~9352 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e4fbdd59a4095d04491c02a5e391df428fac1c64;p=bacula%2Fbacula Update test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1414 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/fixed-block-size-tape b/regress/tests/fixed-block-size-tape index 61f923ff4a..36faadf517 100755 --- a/regress/tests/fixed-block-size-tape +++ b/regress/tests/fixed-block-size-tape @@ -7,11 +7,19 @@ cwd=`pwd` scripts/copy-tape-confs scripts/cleanup-tape +echo "${cwd}/build" >/tmp/file-list cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1 echo "s%# Maximum Block Size% Maximum Block Size%" >${cwd}/tmp/2 echo "s%# Minimum Block Size% Minimum Block Size%" >>${cwd}/tmp/2 sed -f ${cwd}/tmp/2 ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf +if [ $? != 0 ] ; then + echo " " + echo " " + echo "!!!! sed problem in Fixed Block Size test !!!!!" + echo " " + exit 1 +fi rm -f ${cwd}/tmp/1 ${cwd}/tmp/2 echo " " @@ -44,6 +52,7 @@ messages quit END_OF_DATA scripts/check_for_zombie_jobs storage=DDS-4 + bin/bacula stop 2>&1 >/dev/null grep "^Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null bstat=$?