# 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
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
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
yes
wait
messages
-@output
quit
END_OF_DATA