]> git.sur5r.net Git - bacula/bacula/commitdiff
update scratch pool test
authorKern Sibbald <kern@sibbald.com>
Sat, 27 May 2006 18:44:53 +0000 (18:44 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 27 May 2006 18:44:53 +0000 (18:44 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3036 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/scratch-pool-test

index 813f007957efaec6f8a191547693002c244ddf64..a8b6affd442d1fcaec64bdbf7ee307c07844a989 100755 (executable)
@@ -6,6 +6,8 @@
 #   the next tape. One minor wrinkle: we create the two tapes
 #   in the Scratch pool, so they should be switched to the Default
 #   Pool automatically.
+# We set TestVolume001 to not in the changer, so the algorithm
+#   should find TestVolume002 and use it rather than blocking.
 #
 #  Note we use the viritual disk autochanger
 #
@@ -44,10 +46,11 @@ messages
 @$out tmp/log1.out
 label storage=DDS-4 volume=TestVolume001 slot=1 pool=Scratch drive=0
 label storage=DDS-4 volume=TestVolume002 slot=2 pool=Scratch drive=0
-update Volume=TestVolume001 MaxVolBytes=3000000 pool=Scratch drive=0
+update Volume=TestVolume001 MaxVolBytes=2000000 pool=Scratch drive=0
 update Volume=TestVolume001 inchanger=no pool=Scratch drive=0
 @#setdebug level=200 storage=DDS-4
 llist volume=TestVolume001
+llist volume=TestVolume002
 run job=NightlySave yes
 wait
 messages