From: Kern Sibbald Date: Wed, 28 May 2008 13:19:09 +0000 (+0000) Subject: Update relabel tape test X-Git-Tag: Release-3.0.0~1378 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5fd5828be266b3bd515ccd90d75277a53d94c4bc;p=bacula%2Fbacula Update relabel tape test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7043 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/relabel-tape b/regress/tests/relabel-tape index f340681126..ac5a8e6db4 100755 --- a/regress/tests/relabel-tape +++ b/regress/tests/relabel-tape @@ -22,6 +22,7 @@ cat <${cwd}/tmp/bconcmds @output /dev/null messages @$out ${cwd}/tmp/log1.out +setdebug level=150 storage=DDS-4 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default run job=$JobName level=Full yes wait @@ -38,14 +39,12 @@ wait list volumes unmount storage=DDS-4 unmount 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 @@ -63,7 +62,8 @@ echo "Backup done" # now do several restores to ensure we cleanup between jobs # cat <${cwd}/tmp/bconcmds -@$out /dev/null +@$out ${cwd}/tmp/log2.out +setdebug level=150 storage=DDS-4 list volumes restore where=${cwd}/tmp/bacula-restores select all done yes @@ -77,7 +77,6 @@ wait @# 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