From b96aa40e58402db369a3697c003f2295d572a6c6 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 22 Feb 2011 11:06:52 +0100 Subject: [PATCH] regress: Add a deleted file test for restart --- regress/tests/restart-accurate-job-test | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5