From eaa0efae923942af4195f84f52a319d95d58733b Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 28 May 2008 08:00:36 +0000 Subject: [PATCH] Update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7040 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/relabel-tape | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5