From: Eric Bollengier Date: Tue, 22 Feb 2011 10:06:52 +0000 (+0100) Subject: regress: Add a deleted file test for restart X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b96aa40e58402db369a3697c003f2295d572a6c6;p=bacula%2Fbacula regress: Add a deleted file test for restart --- diff --git a/regress/tests/restart-accurate-job-test b/regress/tests/restart-accurate-job-test index eff5f15090..e2e5dec6b4 100755 --- a/regress/tests/restart-accurate-job-test +++ b/regress/tests/restart-accurate-job-test @@ -15,6 +15,7 @@ change_jobname NightlySave $JobName $bperl -e "add_attribute('$conf/bacula-dir.conf', 'Accurate', 'yes', 'Job', 'RestartJob')" start_test +touch $cwd/build/po/testfile cat <${cwd}/tmp/bconcmds @$out /dev/null @@ -42,6 +43,7 @@ cat <${cwd}/tmp/bconcmds setdebug level=0 trace=0 hangup=50 client @exec "sh -c 'touch $cwd/build/po/*'" @exec "sh -c 'touch $cwd/build/src/dird/*'" +@exec "rm $cwd/build/po/testfile" run job=$JobName yes wait messages