X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Feot-fail-tape;h=4113ccf3f28843cf735e26ccae2ee81221827108;hb=fd7101218fa0a6a4bf69db51770fbe18b3ec2aad;hp=33bf4035b11bee0492cb41da998d78617273d471;hpb=5aaea29875378ce6de2b530141124d1a892edc2a;p=bacula%2Fbacula diff --git a/regress/tests/eot-fail-tape b/regress/tests/eot-fail-tape index 33bf4035b1..4113ccf3f2 100755 --- a/regress/tests/eot-fail-tape +++ b/regress/tests/eot-fail-tape @@ -1,12 +1,12 @@ #!/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 @@ -23,16 +23,16 @@ start_test cat <${cwd}/tmp/bconcmds @output /dev/null messages -@$out ${cwd}/tmp/log1.out +@$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 @# @# now do a restore @# -@$out ${cwd}/tmp/log2.out +@$out tmp/log2.out restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done yes wait