From 4b4caa117963052c143fd054149c19a1125fa2ec Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 20 Nov 2010 16:14:02 +0100 Subject: [PATCH] regress: turn on accurate for delta test and restore file one by one --- regress/tests/delta-test | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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 -- 2.39.5