X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fsmall-file-size-tape;h=7000b0de9f64d740dd41543b158bdd78acb0bddd;hb=8ce5fd38f0cff237755db8b1761ef8e827aaf00c;hp=d03cba21331f368dbe4d854616e940947b691ee3;hpb=45dc0d2f1f568fcc62526533adacde65df441837;p=bacula%2Fbacula diff --git a/regress/tests/small-file-size-tape b/regress/tests/small-file-size-tape index d03cba2133..7000b0de9f 100755 --- a/regress/tests/small-file-size-tape +++ b/regress/tests/small-file-size-tape @@ -7,19 +7,22 @@ TestName="small-file-size-tape" JobName=smallfilesize . scripts/functions -copy_tape_confs +require_tape_drive -echo "${cwd}/build" >/tmp/file-list +scripts/copy-tape-confs +scripts/cleanup-tape + +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 NightlySave $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 setdebug level=2 storage=DDS-4 run job=$JobName yes @@ -28,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 *