From: Kern Sibbald Date: Sat, 16 Aug 2008 06:00:52 +0000 (+0000) Subject: Update X-Git-Tag: Release-3.0.0~1086 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e358350e161ecff4f0b78ab90b26cf1e4e021bf4;p=bacula%2Fbacula Update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7480 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/all-disk-tests b/regress/all-disk-tests index 0ddfcae1ba..9355fd676e 100755 --- a/regress/all-disk-tests +++ b/regress/all-disk-tests @@ -56,6 +56,8 @@ nice tests/migration-volume-test nice tests/migration-time-test nice tests/hardlink-test nice tests/tls-test +nice tests/virtual-changer-test +nice tests/virtual-backup-test echo "End non-root disk tests" echo "End non-root disk tests" >>test.out diff --git a/regress/tests/virtual-backup-test b/regress/tests/virtual-backup-test index d9872a0d63..1ff14eac49 100755 --- a/regress/tests/virtual-backup-test +++ b/regress/tests/virtual-backup-test @@ -54,8 +54,18 @@ wait messages list jobs list volumes -setdebug level=100 dir -@# should migrate two jobs +@# +@# now do a restore +@# +@$out ${cwd}/tmp/log2.out +restore where=${cwd}/tmp/bacula-restores select +unmark * +mark * +done +yes +list volumes +@#setdebug level=100 dir +@# should Consolidate Full, Differential and Incremental @#setdebug level=51 storage=DiskChanger run job=$JobName level=VirtualFull yes wait @@ -71,9 +81,40 @@ unmark * mark * done yes +wait +update Volume=ChangerVolume002 +11 +Default +list volumes +list jobs +messages +@exec "sh -c 'touch ${cwd}/build/src/dird/*.o'" +run job=$JobName level=Incremental yes +wait +messages +list jobs list volumes +@# Now do another Consolidation +setdebug level=150 storage=DiskChanger +run job=$JobName level=VirtualFull yes wait messages +list volumes +list jobs +@# +@# now do a restore +@# +@$out ${cwd}/tmp/log2.out +setdebug level=0 storage=DiskChanger +restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger +unmark * +mark * +done +yes +wait +list volumes +list jobs +messages @output quit END_OF_DATA