]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/four-concurrent-jobs-test
ebl Add new tests
[bacula/bacula] / regress / tests / four-concurrent-jobs-test
index 8eb06c08e20a14e0a4df58a456f773e86ff6042a..fb7cf9702d6ade0e2720ec35309d237ffcc1d8d3 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/sh
 #
-# Run two jobs at the same time
+# Run four jobs at the same time, with two Volumes.
+#   Set max Vol bytes of first volume
+#   to less than total backup to force Bacula to use the second
+#   Volume.
 #
 TestName="four-concurrent-jobs-test"
 JobName=Four-concurrent-jobs
 . scripts/functions
-set_debug 0
 
 scripts/cleanup
 scripts/copy-test-confs
@@ -25,24 +27,38 @@ TestVolume002
 update Volume=TestVolume001 MaxVolBytes=100000000
 @#50000000
 @#12
-setdebug level=001 Storage=File1
+setdebug level=51 Storage=File1
+status storage=File1
+llist volume=TestVolume001
+llist volume=TestVolume002
 run job=$JobName level=Full Storage=File1
 yes
 reload
+llist volume=TestVolume001
+llist volume=TestVolume002
 run job=$JobName level=Full Storage=File1
 yes
 reload
+llist volume=TestVolume001
+llist volume=TestVolume002
 run job=$JobName level=Full Storage=File1
 yes
 reload
+llist volume=TestVolume001
+llist volume=TestVolume002
+status storage=File1
 run job=$JobName level=Full Storage=File1
 yes
+status storage=File1
 reload
 reload
 reload
 reload
 @sleep 2
 status dir
+status storage=File1
+llist volume=TestVolume001
+llist volume=TestVolume002
 reload
 @sleep 5
 messages