X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fbscan-fast-tape;h=a6ba184c53f3291ca7331b1fcf12a6a721b3ee07;hb=c0aaad2cbccdf8a49448666d2ba89ca4fe531ec9;hp=fcb7e921bacb608aae6f2bb294844b28c69923d9;hpb=df2945c7cd3f6f295ad39d378b63b1c30254097d;p=bacula%2Fbacula diff --git a/regress/tests/bscan-fast-tape b/regress/tests/bscan-fast-tape index fcb7e921ba..a6ba184c53 100755 --- a/regress/tests/bscan-fast-tape +++ b/regress/tests/bscan-fast-tape @@ -8,11 +8,12 @@ TestName="bscan-tape" JobName=bscantape . scripts/functions -set_debug 1 + +require_tape_drive copy_tape_confs -echo "${cwd}/build" >/tmp/file-list +echo "${cwd}/build" >${cwd}/tmp/file-list 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 @@ -62,7 +63,10 @@ cd .. echo "Begin attempt to read tape that crashes the system" echo "volume=TestVolume001" >tmp/bscan.bsr -strace -o strace.new bin/bscan -d200 -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4 + +bscan_libdbi + +strace -o strace.new bin/bscan -d200 -w working $BSCANLIBDBI -u regress -n regress -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4 exit cat <tmp/bconcmds @$out /dev/null