git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4612
91ce42f0-d328-0410-95d8-
f526ca767f89
TestName="backup-bacula-fifo"
JobName=backupfifo
. scripts/functions
-set_debug 0
+set_debug 1
+cwd=`pwd`
+scripts/cleanup
scripts/copy-fifo-confs
echo "${cwd}/build" >/tmp/file-list
echo "/tmp/bfifo" >/tmp/file-list
rm -f /tmp/bfifo
+mkfifo /tmp/bfifo
# send a file into the fifo
file=encrypt-bug.jpg
cat ${file} >/tmp/bfifo&
@# now do a restore
@#
@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=File1 done
+@#setdebug level=50 client
+restore where=/ select all storage=File1 done
yes
wait
messages
quit
END_OF_DATA
-cat </tmp/bfifo >tmp/${file} &
+cat </tmp/bfifo >tmp/${file}&
run_bconsole