]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/fifo-test
Add execute bit on errors-test
[bacula/bacula] / regress / tests / fifo-test
index 48d0b8787e83a634064e5260ea0d06cb8a086cd5..dabe5c1a80c313565cca811d354b22add17d228b 100755 (executable)
@@ -5,14 +5,13 @@
 TestName="fifo-test"
 JobName=FIFOTest
 . scripts/functions
-set_debug 0
 
-cwd=`pwd`
 scripts/cleanup
-#scripts/copy-test-confs
+scripts/copy-test-confs
 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&
@@ -40,7 +39,8 @@ messages
 @# 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
@@ -48,7 +48,7 @@ messages
 quit
 END_OF_DATA
 
-cat </tmp/bfifo >tmp/${file} &
+cat </tmp/bfifo >tmp/${file}&
 
 run_bconsole