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 test -f working/*dir*bactrace
34 test -f working/*fd*bactrace
35 dstat=`expr $dstat + $?`
36 test -f working/*sd*bactrace
37 dstat=`expr $dstat + $?`
38 test -f working/*dir*traceback
39 dstat=`expr $dstat + $?`
40 test -f working/*fd*traceback
41 dstat=`expr $dstat + $?`
42 test -f working/*sd*traceback
43 dstat=`expr $dstat + $?`
45 grep $JobName working/*dir*bactrace > /dev/null 2>&1
46 dstat=`expr $dstat + $?`
47 grep bpipe-fd.so working/*fd*bactrace > /dev/null 2>&1
48 dstat=`expr $dstat + $?`
49 grep $JobName working/*fd*bactrace > /dev/null 2>&1
50 dstat=`expr $dstat + $?`