3 # Run a simple backup of the Bacula build directory without
4 # md5 signature then restore it.
6 TestName="no-chksum-test"
14 # Zap out any schedule in default conf file so that
15 # it doesn't start during our test
18 echo "s% Schedule =%# Schedule =%g" > $outf
19 echo "s% signature =%# signature =%g" >> $outf
20 cp $scripts/bacula-dir.conf $tmp/1
21 sed -f $outf $tmp/1 >$scripts/bacula-dir.conf
23 change_jobname BackupClient1 $JobName
26 cat <<END_OF_DATA >$tmp/bconcmds
30 label volume=TestVolume001 storage=File pool=File
35 cat <<END_OF_DATA >$tmp/bconcmds
46 # Now do a second backup after making a few changes
48 touch ${cwd}/build/po/fr.po
53 dd if=/dev/zero of=$cwd/build/bigfile count=500000 > /dev/null
57 rm -f $cwd/build/bigfile
59 cat <<END_OF_DATA >$tmp/bconcmds
63 @# don't restore the bigfile, and try to see if it reads the whole volume
70 setdebug level=150 trace=1 storage=File
71 restore where=$tmp/bacula-restores select all done
80 check_for_zombie_jobs storage=File