From: Kern Sibbald Date: Wed, 28 May 2008 08:00:36 +0000 (+0000) Subject: Update X-Git-Tag: Release-7.0.0~4533 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d41ede021b9ba3b59e8632f67b5a92d59e573d9;p=bacula%2Fbacula Update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7040 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/relabel-tape b/regress/tests/relabel-tape index d929db3358..f340681126 100755 --- a/regress/tests/relabel-tape +++ b/regress/tests/relabel-tape @@ -4,7 +4,7 @@ # then backup four times, each with incremental then finally restore. # It should require at least 4 different bsrs. # -TestName="relabel-1t1d-tape" +TestName="relabel-tape" JobName=Relabeltape . scripts/functions @@ -35,17 +35,20 @@ update volume=TestVolume001 . run job=$JobName level=Full yes wait +list volumes unmount storage=DDS-4 unmount storage=DDS-4 -@#setdebug level=150 storage=DDS-4 +setdebug level=150 storage=DDS-4 purge volume=TestVolume001 relabel oldvolume=TestVolume001 volume=TestVolume003 slot=0 pool=Default storage=DDS-4 list volumes mount storage=DDS-4 messages wait +setdebug level=0 storage=DDS-4 run job=$JobName level=Full yes wait +list volumes messages @$out quit @@ -61,6 +64,7 @@ echo "Backup done" # cat <${cwd}/tmp/bconcmds @$out /dev/null +list volumes restore where=${cwd}/tmp/bacula-restores select all done yes wait @@ -72,6 +76,8 @@ wait @# now unmount the tape and start two restores @# at the same time @# +list volumes +setdebug level=150 storage=DDS-4 unmount storage=DDS-4 restore where=${cwd}/tmp/bacula-restores select all done yes