From 3e3c479f1828e2f9065dd16bf7c6787be0159fe4 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 17 Jun 2010 00:12:14 +0200 Subject: [PATCH] regress: update prune-test --- regress/tests/prune-test | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5