]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/bscan-fast-tape
Temp remove next-vol-test
[bacula/bacula] / regress / tests / bscan-fast-tape
index 7e2b38e3296a278d568737e5e8e0aa786797de56..a6ba184c53f3291ca7331b1fcf12a6a721b3ee07 100755 (executable)
@@ -9,6 +9,8 @@ TestName="bscan-tape"
 JobName=bscantape
 . scripts/functions
 
+require_tape_drive
+
 copy_tape_confs
 
 echo "${cwd}/build" >${cwd}/tmp/file-list
@@ -61,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 -u regress -n regress -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 <<END_OF_DATA >tmp/bconcmds
 @$out /dev/null