]> git.sur5r.net Git - bacula/bacula/commitdiff
Add Graham's date stamp to virtual-backup to ensure Incremental changes are really...
authorKern Sibbald <kern@sibbald.com>
Thu, 28 Aug 2008 20:17:24 +0000 (20:17 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 28 Aug 2008 20:17:24 +0000 (20:17 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7522 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/virtual-backup-test

index b5c26560ed3875cef9c8fd60fb40166ae8a26107..67e9e414911b373ca51c239df2239c14bb6ea3f5 100755 (executable)
@@ -34,6 +34,7 @@ label storage=File volume=FileVolume001 Pool=Default
 label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
 label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
 @# run several jobs
+@exec "sh -c 'date > ${cwd}/build/date'"
 run job=$JobName level=Full yes
 wait
 messages
@@ -48,6 +49,7 @@ run job=$JobName level=Differential yes
 wait
 messages
 list jobs
+@exec "sh -c 'date > ${cwd}/build/date'"
 @exec "sh -c 'touch ${cwd}/build/src/dird/*.o'"
 run job=$JobName level=Incremental yes
 wait
@@ -66,7 +68,8 @@ done
 yes
 list volumes
 @# should Consolidate Full, Differential and Incremental
-@#setdebug level=51 storage=DiskChanger
+setdebug level=150 storage=DiskChanger
+setdebug level=100 dir
 run job=$JobName level=VirtualFull yes
 wait
 messages