]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: turn on accurate for delta test and restore file one by one
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 20 Nov 2010 15:14:02 +0000 (16:14 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 25 Nov 2010 13:59:27 +0000 (14:59 +0100)
regress/tests/delta-test

index 329b9c8bb12d3aa94912f7105083dcf80baf87a1..80f5f01b985f3488bb2b93ea21ee4674224f372d 100755 (executable)
@@ -23,6 +23,7 @@ FileSet {
 EOF
 
 $bperl -e 'add_attribute("$conf/bacula-dir.conf", "FileSet", "FS_DELTA", "Job", "pluginTest")'
+$bperl -e 'add_attribute("$conf/bacula-dir.conf", "Accurate", "yes", "Job", "pluginTest")'
 
 # install the delta plugin
 make -C build/src/plugins/fd install-test-plugin >/dev/null
@@ -59,7 +60,21 @@ messages
 @#
 @$out ${cwd}/tmp/log2.out
 setdebug level=50 client=$CLIENT
-restore where=$tmp select all done
+restore where=$tmp jobid=1
+m *
+done
+yes
+wait
+@exec "cp $tmp/delta.txt $tmp/delta.F.txt"
+restore where=$tmp jobid=2
+m *
+done
+yes
+wait
+@exec "cp $tmp/delta.txt $tmp/delta.I1.txt"
+restore where=$tmp jobid=3
+m *
+done
 yes
 wait
 messages