From: Eric Bollengier Date: Wed, 16 Jun 2010 22:12:14 +0000 (+0200) Subject: regress: update prune-test X-Git-Tag: Release-7.0.0~1737 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e3c479f1828e2f9065dd16bf7c6787be0159fe4;p=bacula%2Fbacula regress: update prune-test --- diff --git a/regress/tests/prune-test b/regress/tests/prune-test index bc556aff40..4a14d69035 100755 --- a/regress/tests/prune-test +++ b/regress/tests/prune-test @@ -63,6 +63,12 @@ messages list jobs prune jobs yes list jobs +@$out $tmp/log6.out +@################################################################ +@# Should prune the last incr +run job=$JobName level=incremental yes +wait +messages @$out $tmp/log2.out restore where=${cwd}/tmp/bacula-restores select all storage=File done yes @@ -71,7 +77,7 @@ messages @sleep 2 @$out $tmp/log6.out @################################################################ -@# Should prune the restore job +@# Should prune the restore job and the last incremental job (jobfiles=0) list jobs prune jobs yes list jobs @@ -96,7 +102,7 @@ estat=$(($estat + $?)) $bperl -e "check_job_list('$tmp/log5.out',1,4,5)" estat=$(($estat + $?)) -$bperl -e "check_job_list('$tmp/log6.out',7)" +$bperl -e "check_job_list('$tmp/log6.out',7,8)" estat=$(($estat + $?)) end_test