X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fsmall-file-size-tape;h=7000b0de9f64d740dd41543b158bdd78acb0bddd;hb=8ce5fd38f0cff237755db8b1761ef8e827aaf00c;hp=7e93525197620b8a96ec6177f3d36133a6fc8bc9;hpb=5b4f40e5baaa8cbba795741f60488e464fddea1e;p=bacula%2Fbacula diff --git a/regress/tests/small-file-size-tape b/regress/tests/small-file-size-tape index 7e93525197..7000b0de9f 100755 --- a/regress/tests/small-file-size-tape +++ b/regress/tests/small-file-size-tape @@ -6,22 +6,23 @@ TestName="small-file-size-tape" JobName=smallfilesize . scripts/functions -set_debug 0 + +require_tape_drive scripts/copy-tape-confs scripts/cleanup-tape -echo "${cwd}/build" >/tmp/file-list +echo "${cwd}/build" >${cwd}/tmp/file-list cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1 sed "s%# Maximum File Size% Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf -change_jobname $JobName +change_jobname NightlySave $JobName start_test -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @output /dev/null messages -@$out t tmp/log1.out +@$out ${cwd}/tmp/log1.out label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default setdebug level=2 storage=DDS-4 run job=$JobName yes @@ -30,7 +31,7 @@ messages @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out restore where=${cwd}/tmp/bacula-restores select storage=DDS-4 unmark * mark *