]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: tweak restart base job
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 21 Feb 2011 14:50:49 +0000 (15:50 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:43:26 +0000 (14:43 +0200)
regress/tests/restart-base-job-test

index 3a6a2dc5304c3e619e25d613ec1f7252ac3ae537..4894f5f093ce2c6195af83cc17d5302ec485d703 100755 (executable)
@@ -13,8 +13,8 @@ echo "${cwd}/build" >${cwd}/tmp/file-list
 
 change_jobname NightlySave $JobName
 
-$bperl -e "add_attribute('$conf/bacula-dir.conf', 'Base', 'RestartJob', 'Job', 'RestartJob')"
-$bperl -e "add_attribute('$conf/bacula-dir.conf', 'Accurate', 'yes', 'Job', 'RestartJob')"
+$bperl -e "add_attribute('$conf/bacula-dir.conf', 'Base', '$JobName', 'Job', '$JobName')"
+$bperl -e "add_attribute('$conf/bacula-dir.conf', 'Accurate', 'yes', 'Job', '$JobName')"
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
@@ -27,10 +27,11 @@ wait
 messages
 @exec "touch $cwd/build/po/fr.po"
 setdebug level=0 trace=0 hangup=100 client
-@#setdebug level=20 dir
+setdebug level=200 trace=1 dir
 run job=$JobName yes
 wait
 messages
+setdebug level=0 trace=0 dir
 @$out ${cwd}/tmp/log3.out
 list jobs
 quit