X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fansi-label-tape;h=d8d3b48f0579bb7151cec2c2f35135792a7e823b;hb=28b32f20b7278613564755efe4ac7800fcb89bf0;hp=d574b058ae8cc906d85a0e64f7c207002b6b04d1;hpb=eb63653497660808a218cc82eaf7ef56e96f9f25;p=bacula%2Fbacula diff --git a/regress/tests/ansi-label-tape b/regress/tests/ansi-label-tape index d574b058ae..d8d3b48f05 100755 --- a/regress/tests/ansi-label-tape +++ b/regress/tests/ansi-label-tape @@ -8,10 +8,12 @@ # We also use the purge and the relabel commands as # well as a pile of status storage commands. # -TestName="ansi-label-1t1d-tape" +TestName="ansi-label-tape" JobName=backuptape . scripts/functions +require_tape_drive + scripts/copy-tape-confs /bin/cp -f scripts/ansi-sd-tape.conf bin/bacula-sd.conf scripts/cleanup-tape @@ -26,7 +28,7 @@ cat <${cwd}/tmp/bconcmds @output /dev/null messages @$out ${cwd}/tmp/log1.out -@#setdebug level=200 storage=DDS-4 +setdebug level=200 storage=DDS-4 label storage=DDS-4 volume=Vol001 slot=0 pool=Default purge volume=Vol001 relabel pool=Default storage=DDS-4 oldVolume=Vol001 volume=Vol002 slot=0 @@ -41,6 +43,7 @@ messages @# now do a restore @# @$out ${cwd}/tmp/log2.out +setdebug level=200 storage=DDS-4 restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done yes wait