]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
BEE Backport regress/tests/restart2-base-job-test
authorEric Bollengier <eric@baculasystems.com>
Wed, 2 Sep 2020 13:02:10 +0000 (15:02 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 1 Mar 2022 14:36:18 +0000 (15:36 +0100)
This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Wed Mar 20 20:58:37 2019 +0100

    regress: Adapt restart-* tests with AllowIncompleteJobs directive

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Mon Mar 4 11:33:00 2019 +0100

    regress: Reduce output of restart2-base-job-test

regress/tests/restart2-base-job-test

index 58d5bda99db63f13a42e08db8cab04d6b8f11af1..d647a6352e43efb4ff9c835581069f872ccbdbc1 100755 (executable)
@@ -22,6 +22,8 @@ change_jobname NightlySave $JobName
 
 $bperl -e "add_attribute('$conf/bacula-dir.conf', 'Base', '$JobName', 'Job', '$JobName')"
 $bperl -e "add_attribute('$conf/bacula-dir.conf', 'Accurate', 'yes', 'Job', '$JobName')"
+$bperl -e "add_attribute('$conf/bacula-dir.conf', 'AllowIncompleteJobs', 'yes', 'Job')"
+
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
@@ -29,7 +31,7 @@ cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 messages
 @$out ${cwd}/tmp/log1.out
 label storage=File volume=TestVolume001 slot=1 drive=0
-setdebug level=200 storage=File
+setdebug level=200 trace=1 storage=File
 setdebug level=0 trace=0 hangup=43 client
 run job=$JobName level=Base yes
 wait