]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/recycle-test
Fix backup-bacula regression
[bacula/bacula] / regress / tests / recycle-test
index 066217fbc329db918c7241f6ddd4e84e9620e473..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
@@ -83,7 +88,6 @@ done
 yes
 wait
 messages
-@output
 quit
 END_OF_DATA