]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/scratchpool-pool-test
regress: add function to create many dirs
[bacula/bacula] / regress / tests / scratchpool-pool-test
index 814f6eef64d63b8b854715bc7a5dd265685b1327..194a19eb6f765fbceab0e4d172065d55ef448b74 100755 (executable)
@@ -37,9 +37,9 @@ cat <<END_OF_DATA >${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,7 +71,7 @@ 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
@@ -79,7 +79,7 @@ quit
 END_OF_DATA
 
 run_bacula
-check_for_zombie_jobs storage=DDS-4
+check_for_zombie_jobs storage=tape
 stop_bacula
 
 check_two_logs