3 # Run a simple Verify InitCatalog, then Verify Catalog
5 TestName="verify-cat-test"
11 scripts/copy-test-confs
12 echo "${cwd}/build" >${cwd}/tmp/file-list
13 #echo "${cwd}/do_all" >${cwd}/tmp/file-list
14 #echo "${cwd}/do_all_tapes" >>${cwd}/tmp/file-list
15 #echo "${cwd}/do_file" >>${cwd}/tmp/file-list
17 change_jobname NightlySave $JobName
20 cat <<END_OF_DATA >tmp/bconcmds
24 @#exec "sh -c 'touch ${cwd}/build/xxx_new_file'"
25 run job=VerifyVolume level=InitCatalog yes
29 @# now do a verify Catalog
31 @$out ${cwd}/tmp/original
32 @#exec "sh -c 'rm -f ${cwd}/build/xxx_new_file'"
33 run job=VerifyVolume level=Catalog yes
42 check_for_zombie_jobs storage=File
45 grep "^ Termination: *Verify OK" tmp/log1.out 2>&1 >/dev/null
47 grep "^ Termination: *Verify OK" ${cwd}/tmp/original 2>&1 >/dev/null