From 52360994b3dbd28ad213a5632670015aca140e4a Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 28 Aug 2008 20:17:24 +0000 Subject: [PATCH] Add Graham's date stamp to virtual-backup to ensure Incremental changes are really restored git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7522 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/virtual-backup-test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/regress/tests/virtual-backup-test b/regress/tests/virtual-backup-test index b5c26560ed..67e9e41491 100755 --- a/regress/tests/virtual-backup-test +++ b/regress/tests/virtual-backup-test @@ -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 -- 2.39.5