X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fscratchpool-pool-test;h=194a19eb6f765fbceab0e4d172065d55ef448b74;hb=d47b681717803cdb66c36002f698926b347839bb;hp=dc019ca3cc529348918c1c8615ca2f27bc8d0144;hpb=b909d3d910e38bdda14b4357958fd6dadc6f21d9;p=bacula%2Fbacula diff --git a/regress/tests/scratchpool-pool-test b/regress/tests/scratchpool-pool-test index dc019ca3cc..194a19eb6f 100755 --- a/regress/tests/scratchpool-pool-test +++ b/regress/tests/scratchpool-pool-test @@ -37,9 +37,9 @@ cat <${cwd}/tmp/bconcmds @$out /dev/null messages @$out ${cwd}/tmp/log1.out -label storage=DDS-4 volume=TestVolume001 slot=1 pool=SpecialScratch drive=0 -label storage=DDS-4 volume=TestVolume002 slot=2 pool=SpecialScratch drive=0 -label storage=DDS-4 volume=TestVolume003 slot=3 pool=Scratch drive=0 +label storage=tape volume=TestVolume001 slot=1 pool=SpecialScratch drive=0 +label storage=tape volume=TestVolume002 slot=2 pool=SpecialScratch drive=0 +label storage=tape volume=TestVolume003 slot=3 pool=Scratch drive=0 show pool=Default show pool=Special @######################## @@ -71,16 +71,15 @@ list volume pool=Special @# now do a restore @# @$out ${cwd}/tmp/log2.out -restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done +restore where=${cwd}/tmp/bacula-restores select all storage=tape done yes wait messages -@$out quit END_OF_DATA run_bacula -check_for_zombie_jobs storage=DDS-4 +check_for_zombie_jobs storage=tape stop_bacula check_two_logs