From: Eric Bollengier Date: Sat, 20 Nov 2010 15:14:02 +0000 (+0100) Subject: regress: turn on accurate for delta test and restore file one by one X-Git-Tag: Release-7.0.0~1374 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4b4caa117963052c143fd054149c19a1125fa2ec;p=bacula%2Fbacula regress: turn on accurate for delta test and restore file one by one --- diff --git a/regress/tests/delta-test b/regress/tests/delta-test index 329b9c8bb1..80f5f01b98 100755 --- a/regress/tests/delta-test +++ b/regress/tests/delta-test @@ -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