X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Frestore-seek-tape;h=041c278debe474065e11b3635e8d4727f3500a03;hb=5dd06f639b5e883410a3af50727706a3d16e4028;hp=95a220c3f430c7b3f73d2e75236f7fdf78b0245c;hpb=073ee396b6a13dea4afeff771c9fcb331b5a4b5c;p=bacula%2Fbacula diff --git a/regress/tests/restore-seek-tape b/regress/tests/restore-seek-tape index 95a220c3f4..041c278deb 100755 --- a/regress/tests/restore-seek-tape +++ b/regress/tests/restore-seek-tape @@ -10,8 +10,12 @@ TestName="restore-seek-tape" JobName=restore-tape-seek . scripts/functions -copy_tape_confs -echo "${cwd}/tmp/build" >/tmp/file-list +require_tape_drive + +scripts/copy-tape-confs +scripts/cleanup-tape + +echo "${cwd}/tmp/build" >${cwd}/tmp/file-list rm -rf ${cwd}/tmp/build mkdir ${cwd}/tmp/build # Copy only the .c files (to be restored) @@ -47,10 +51,10 @@ sed "s%# Maximum File Size = 1000000% Maximum File Size = 10KB%" ${cwd}/tmp/1 > change_jobname NightlySave $JobName start_test -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @$out /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out label storage=DDS-4 volume=TestVolume001 pool=Default run job=$JobName yes wait @@ -58,7 +62,7 @@ messages @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out setdebug level=30 fd setdebug level=10 storage=DDS-4 sql