X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Feot-fail-tape;h=4113ccf3f28843cf735e26ccae2ee81221827108;hb=fd7101218fa0a6a4bf69db51770fbe18b3ec2aad;hp=dd9ee7c0a0077f3f1fe1c310f633918dcbb6706e;hpb=45dc0d2f1f568fcc62526533adacde65df441837;p=bacula%2Fbacula diff --git a/regress/tests/eot-fail-tape b/regress/tests/eot-fail-tape index dd9ee7c0a0..4113ccf3f2 100755 --- a/regress/tests/eot-fail-tape +++ b/regress/tests/eot-fail-tape @@ -1,18 +1,18 @@ #!/bin/sh # -# Run a simple backup of the Bacula build directory -# to two tapes where the maximum tape file size is set to 1M # TestName="eot-fail-tape" JobName=eotfailtape . scripts/functions +require_tape_drive + 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 @@ -20,12 +20,12 @@ 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 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default -update Volume=TestVolume001 MaxVolBytes=3000000 +#update Volume=TestVolume001 MaxVolBytes=3000000 run job=$JobName yes wait messages