]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/four-concurrent-jobs-tape
Update
[bacula/bacula] / regress / tests / four-concurrent-jobs-tape
index d841bedaa1abfbe573a4f7a7f517b9a5901cfa40..9461a217b9518703126b93561785ad66a4256e2d 100755 (executable)
@@ -1,24 +1,23 @@
 #!/bin/sh
 #
-# Run two jobs at the same time
+# Run four jobs at the same time
 #
-TestName="auto-label-test"
-JobName=AutoLabel
+TestName="four-concurrent-jobs-tape"
+JobName=FourConcurrentJobs
 . scripts/functions
-set_debug 0
 
-scripts/copy-tape-confs
 scripts/cleanup-tape
+scripts/copy-tape-confs
 
-echo "${cwd}/build" >/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
 
 change_jobname $JobName
 start_test
 
-cat <<END_OF_DATA >tmp/bconcmds
+cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @output /dev/null
 messages
-@$out tmp/log1.out
+@$out ${cwd}/tmp/log1.out
 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
 run job=$JobName level=Full Storage=DDS-4 yes
 run job=$JobName level=Full Storage=DDS-4 yes
@@ -35,7 +34,7 @@ messages
 @# 
 @# now do a restore
 @#
-@$out tmp/log2.out
+@$out ${cwd}/tmp/log2.out
 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
 unmark *
 mark *