]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/recycle-test
Verify if the Exclude Dir Containing directive does his job
[bacula/bacula] / regress / tests / recycle-test
index 1f66858e5231aa195b53fb3e273e2ba986afb4b9..467d959052a42eb4457c7e8c4823f5ff0066a30f 100755 (executable)
@@ -5,6 +5,11 @@
 #   volumes to be recycled, and cycling through the volumes
 #   twice. Tests maxvoljobs and volretention.
 #
+# Note, this test is a bit tricky, in that if you get too
+#   much data in the regress/build directory, the test will
+#   fail because it will run out of enough volumes to backup
+#   all the data.
+#
 TestName="recycle-test"
 JobName=Recycle
 . scripts/functions
@@ -17,7 +22,7 @@ change_jobname NightlySave $JobName
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@output /dev/null
+@$out /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
 label storage=File1 volume=TestVolume001
@@ -37,8 +42,7 @@ update Volume=TestVolume003 maxvolbytes=200000000
 update Volume=TestVolume004 volretention=10s
 update Volume=TestVolume004 maxvolbytes=200000000
 list volumes
-setdebug level=250 storage=File1
-setdebug level=250 dir
+setdebug level=150 storage=File1
 run job=$JobName storage=File1 level=full yes
 run job=$JobName storage=File1 level=full yes
 run job=$JobName storage=File1 level=full yes
@@ -84,7 +88,6 @@ done
 yes
 wait
 messages
-@output
 quit
 END_OF_DATA