3 # Run four jobs at the same time, with four Volumes, but set
4 # Maximum Job Volumes = 1 on each of the Volumes. Note,
5 # Volume 2 will probably have two jobs on it. Something to
6 # be fixed in a later version.
8 TestName="maxuseduration-test"
13 scripts/copy-test-confs
14 echo "${cwd}/build" >${cwd}/tmp/file-list
16 change_jobname NightlySave $JobName
19 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
22 @$out ${cwd}/tmp/log1.out
23 label storage=File1 volume=TestVolume001
24 update Volume=TestVolume001
30 llist volume=TestVolume001
31 @#setdebug level=100 Storage=File1
32 run job=$JobName level=Full Storage=File1 yes
34 update Volume=TestVolume001
40 llist volume=TestVolume001
46 check_for_zombie_jobs storage=File1
49 grep "Max configured use duration" ${cwd}/tmp/log1.out
50 if [ $? -eq 0 ] ; then
51 echo "Error: max configured use duration exceeded"