X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Frestore-by-file-tape;h=060a43e73aed41c3857efd94bd451e52cefc8d5c;hb=38b243eb09f97315282dd31dd4f162fcbb6c6778;hp=8ac4118cf17599fccbda1bf41238bbd452375d48;hpb=d7ece1f0834ed0135226172ec438e8802fe59c2b;p=bacula%2Fbacula diff --git a/regress/tests/restore-by-file-tape b/regress/tests/restore-by-file-tape index 8ac4118cf1..060a43e73a 100755 --- a/regress/tests/restore-by-file-tape +++ b/regress/tests/restore-by-file-tape @@ -6,10 +6,14 @@ # file size to 1M, it runs very slow. There are about 64 files that # are created during each of the two backups. # -TestName="restore-by-file-1t1d-tape" +TestName="restore-by-file-tape" JobName=restorebyfile . scripts/functions -copy_tape_confs + +require_tape_drive + +scripts/copy-tape-confs +scripts/cleanup-tape echo "${cwd}/build" >${cwd}/tmp/file-list sed s%\^%${cwd}% ${cwd}/scripts/flist | sort | uniq >${cwd}/tmp/restore2-list @@ -89,7 +93,7 @@ stop_bacula check_two_logs scripts/check_for_zombie_jobs storage=DDS-4 -bin/bacula stop 2>&1 >/dev/null +stop_bacula for i in `cat ${cwd}/tmp/restore2-list`; do diff $i ${cwd}/tmp/bacula-restores$i if [ $? != 0 ] ; then