3 # Attempt to backup and restore a file with the bpipe plugin
10 scripts/copy-plugin-confs
11 echo "${cwd}/build/po" >${cwd}/tmp/file-list
12 rm -f ${cwd}/working/*trace*
16 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
19 @$out ${cwd}/tmp/log1.out
20 label storage=File1 volume=TestVolume001
21 update volume=TestVolume001 MaxVolBytes=1000
22 run job=$JobName storage=File1 yes
30 killall -SEGV bacula-dir bacula-sd bacula-fd
32 grep $JobName working/*dir*bactrace > /dev/null 2>&1
34 grep bpipe-fd.so working/*fd*bactrace > /dev/null 2>&1
35 dstat=`expr $dstat + $?`
36 grep $JobName working/*fd*bactrace > /dev/null 2>&1
37 dstat=`expr $dstat + $?`