X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=regress%2Ftests%2Fsmall-file-size-tape;h=4f8b0115d518bf25ae071a5828ec9c7f4dee0cf4;hb=513fb27c6ae7faf0be67bc68e3d7d3e326a3da84;hp=1d63936c90e3b7cac2dbf888dd72ae303c52764b;hpb=83b48c47a346bd3fd2904ec593c6a27277a97009;p=bacula%2Fbacula diff --git a/regress/tests/small-file-size-tape b/regress/tests/small-file-size-tape index 1d63936c90..4f8b0115d5 100755 --- a/regress/tests/small-file-size-tape +++ b/regress/tests/small-file-size-tape @@ -4,30 +4,26 @@ # to a tape where the maximum tape file size is set to 1M # cwd=`pwd` -bin/bacula stop 2>&1 >/dev/null scripts/copy-tape-confs scripts/cleanup-tape + echo "${cwd}/build" >/tmp/file-list -cd bin -./drop_bacula_tables >/dev/null 2>&1 -./make_bacula_tables >/dev/null 2>&1 -./grant_bacula_privileges 2>&1 >/dev/null -cd .. cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1 sed "s%# Maximum File Size% Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf echo " " echo " " -echo " === Starting Small File Size test ===" -echo " === Starting Small File Size test ===" >>working/log +echo " === Starting Small File Size test at `date +%R:%S` ===" +echo " === Starting Small File Size test at `date +%R:%S` ===" >>working/log echo " " bin/bacula start 2>&1 >/dev/null -bin/bconsole -c bin/bconsole.conf <&1 >/dev/null @output /dev/null messages @output tmp/log1.out -label storage=DDS-4 volume=TestVolume001 slot=0 +label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default +setdebug level=2 storage=DDS-4 run job=NightlySave yes wait messages @@ -47,9 +43,9 @@ 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 +grep "^ Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null bstat=$? -grep "^Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null +grep "^ Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null rstat=$? diff -r build tmp/bacula-restores${cwd}/build 2>&1 >/dev/null if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then