X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Ffour-concurrent-jobs-tape;h=8fc617f24cfbef8a7f163555e15c959a8cd492ed;hb=9d3109a03bb69d2ef5bf39f2cbe424cf9fc2076d;hp=d841bedaa1abfbe573a4f7a7f517b9a5901cfa40;hpb=d7d501dae0729c2228b9e0a263086789e6b6de23;p=bacula%2Fbacula diff --git a/regress/tests/four-concurrent-jobs-tape b/regress/tests/four-concurrent-jobs-tape index d841bedaa1..8fc617f24c 100755 --- a/regress/tests/four-concurrent-jobs-tape +++ b/regress/tests/four-concurrent-jobs-tape @@ -1,24 +1,25 @@ #!/bin/sh # -# Run two jobs at the same time +# Run four jobs at the same time # -TestName="auto-label-test" -JobName=AutoLabel +TestName="four-concurrent-jobs-tape" +JobName=FourConcurrentJobs . scripts/functions -set_debug 0 -scripts/copy-tape-confs +require_tape_drive + scripts/cleanup-tape +scripts/copy-tape-confs -echo "${cwd}/build" >/tmp/file-list +echo "${cwd}/build" >${cwd}/tmp/file-list 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 run job=$JobName level=Full Storage=DDS-4 yes run job=$JobName level=Full Storage=DDS-4 yes @@ -32,10 +33,15 @@ status storage=DDS-4 messages wait messages +@$out ${cwd}/tmp/jobmedia.out +list volumes +sql +select JobId,MediaId,StartFile,StartBlock,EndFile,EndBlock from JobMedia; + @# @# 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 *