3 # Run a backup of a small file, then do several other backups
4 # to expand the size of a volume. Then do a restore of the first
5 # file, and make sure it does read to the end of the disk.
7 TestName="bsr-read-test"
12 scripts/copy-test-confs
13 echo "${cwd}/build/configure" >${cwd}/tmp/file-list
17 change_jobname CompressedTest $JobName
20 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
23 @$out ${cwd}/tmp/log1.out
24 label storage=File volume=TestVolume001
25 label storage=File volume=TestVolume002
26 update Volume=TestVolume001 maxvolbytes=120000
31 @# print the JobMedia records
33 select * from JobMedia;
39 check_for_zombie_jobs storage=File
42 echo "${cwd}/build" >${cwd}/tmp/file-list
44 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
47 @$out ${cwd}/tmp/log1.out
48 run job=$JobName level=Full yes
54 @$out ${cwd}/tmp/log2.out
56 setdebug level=500 storage=File
58 @# print the JobMedia records
59 select * from JobMedia;
74 check_for_zombie_jobs storage=File
78 # check_restore_tmp_build_diff