X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Feot-fail-tape;h=33bf4035b11bee0492cb41da998d78617273d471;hb=ef33273cecc466a71ce597c06024d8fac53fbe1d;hp=55281032ce7012fa572963bab70e048f0af02a99;hpb=5b4f40e5baaa8cbba795741f60488e464fddea1e;p=bacula%2Fbacula diff --git a/regress/tests/eot-fail-tape b/regress/tests/eot-fail-tape index 55281032ce..33bf4035b1 100755 --- a/regress/tests/eot-fail-tape +++ b/regress/tests/eot-fail-tape @@ -6,14 +6,13 @@ TestName="eot-fail-tape" JobName=eotfailtape . scripts/functions -set_debug 0 -scripts/copy-tape-confs scripts/cleanup-tape +scripts/copy-tape-confs -echo "${cwd}/build" >/tmp/file-list +echo "${cwd}/build" >${cwd}/tmp/file-list -out="tmp/sed_tmp" +out="${cwd}/tmp/sed_tmp" echo "s%# Maximum File Size% Maximum File Size%g" >${out} cp -f ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1 sed -f ${out} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf @@ -21,10 +20,10 @@ sed -f ${out} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf change_jobname $JobName start_test -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @output /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default update Volume=TestVolume001 MaxVolBytes=3000000 run job=$JobName yes @@ -33,7 +32,7 @@ messages @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done yes wait @@ -49,4 +48,3 @@ stop_bacula check_two_logs check_restore_diff end_test -