X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Ffifo-test;h=e994caeafc553d2af41921cbe3ccb323f785193d;hb=08330b1751912331a643a129c8a4d71b39bb116c;hp=dabe5c1a80c313565cca811d354b22add17d228b;hpb=45dc0d2f1f568fcc62526533adacde65df441837;p=bacula%2Fbacula diff --git a/regress/tests/fifo-test b/regress/tests/fifo-test index dabe5c1a80..e994caeafc 100755 --- a/regress/tests/fifo-test +++ b/regress/tests/fifo-test @@ -8,20 +8,20 @@ JobName=FIFOTest scripts/cleanup scripts/copy-test-confs -echo "/tmp/bfifo" >/tmp/file-list +echo "${cwd}/tmp/bfifo" >${cwd}/tmp/file-list -rm -f /tmp/bfifo -mkfifo /tmp/bfifo +rm -f ${cwd}/tmp/bfifo +mkfifo ${cwd}/tmp/bfifo # send a file into the fifo file=encrypt-bug.jpg -cat ${file} >/tmp/bfifo& +cat ${file} >${cwd}/tmp/bfifo& start_test -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @$out /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out label storage=File1 volume=TestVolume001 run job=$JobName storage=File1 yes wait @@ -32,13 +32,13 @@ END_OF_DATA run_bacula -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @$out /dev/null messages @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out @#setdebug level=50 client restore where=/ select all storage=File1 done yes @@ -48,7 +48,7 @@ messages quit END_OF_DATA -cat tmp/${file}& +cat <${cwd}/tmp/bfifo >${cwd}/tmp/${file}& run_bconsole @@ -56,6 +56,6 @@ check_for_zombie_jobs storage=File1 stop_bacula check_two_logs -diff ${file} tmp/${file} +diff ${file} ${cwd}/tmp/${file} dstat=$? end_test