3 # Do some tests with statistics commands
13 # Zap out any schedule in default conf file so that
14 # it doesn't start during our test
17 echo "s% Schedule =%# Schedule =%g" >${outf}
18 cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
19 sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
21 change_jobname Client1 $JobName
24 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
27 @$out ${cwd}/tmp/log1.out
28 label volume=TestVolume001 storage=File pool=Default
33 @$out ${cwd}/tmp/log2.out
35 SELECT * FROM JobStat;
40 @$out ${cwd}/tmp/log3.out
43 SELECT * FROM JobStat;
53 check_for_zombie_jobs storage=File
56 # TODO: do grep into log2 log3 to see differences