3 # Attempt to backup from a fifo and restore to a fifo
10 scripts/copy-test-confs
11 echo "${cwd}/tmp/bfifo" >${cwd}/tmp/file-list
13 rm -f ${cwd}/tmp/bfifo
14 mkfifo ${cwd}/tmp/bfifo
15 # send a file into the fifo
17 cat ${file} >${cwd}/tmp/bfifo&
21 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
24 @$out ${cwd}/tmp/log1.out
25 label storage=File1 volume=TestVolume001
26 run job=$JobName storage=File1 yes
35 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
41 @$out ${cwd}/tmp/log2.out
42 @#setdebug level=50 client=$CLIENT
43 restore where=/ select all storage=File1 done
50 cat <${cwd}/tmp/bfifo >${cwd}/tmp/${file}&
54 check_for_zombie_jobs storage=File1
58 diff ${file} ${cwd}/tmp/${file}