From: Eric Bollengier Date: Wed, 3 Dec 2008 20:20:18 +0000 (+0000) Subject: ebl Remove unused jobspan X-Git-Tag: Release-7.0.0~3675 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e3a664989a109c0702cee241d8cd75d41450d39b;p=bacula%2Fbacula ebl Remove unused jobspan git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8116 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/bsr-read-test b/regress/tests/bsr-read-test index d0c8c257f7..81fdab58a3 100755 --- a/regress/tests/bsr-read-test +++ b/regress/tests/bsr-read-test @@ -25,12 +25,7 @@ cat <${cwd}/tmp/bconcmds messages @$out ${cwd}/tmp/log1.out label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0 -label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0 label storage=File volume=TestVolume001 pool=Default -label storage=File volume=TestVolume002 pool=Default -label storage=File volume=TestVolume003 pool=Default -update Volume=TestVolume001 maxvolbytes=120000 -update Volume=TestVolume002 maxvolbytes=120000 run job=$JobName yes wait messages @@ -58,6 +53,9 @@ messages run job=$JobName level=Full yes wait messages +run job=$JobName level=Full yes +wait +messages @# @# now do a restore @# @@ -68,30 +66,41 @@ sql @# print the JobMedia records select * from JobMedia; +@# +@# now do a restore +@# restore 3 -1 +2 mark * done yes wait messages @# -@# now do a restore of the second job (to compare offset) +@# now do a restore @# @$out ${cwd}/tmp/log3.out restore 3 -2 +1 mark * done yes wait messages +restore all +3 +3 +done +yes +wait +messages @$out -update volume=TestVolume003 volstatus=Used +update volume=TestVolume001 volstatus=Used run job=migrate-job jobid=1 yes run job=migrate-job jobid=2 yes +run job=migrate-job jobid=3 yes wait messages quit