]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/restore-by-file-test
Update 2drive-incremental-2tape script
[bacula/bacula] / regress / tests / restore-by-file-test
index 8801eb9a63be19bcea22f6b1009a965adcf24043..16078fe63889dccb5b8b85eec9353fdb8940e5d6 100755 (executable)
@@ -5,13 +5,13 @@
 #
 
 TestName="restore-by-file-test"
-JobName=SpanVol
+JobName=restorebyfile
 . scripts/functions
 set_debug 0
 
 cwd=`pwd`
-scripts/copy-test-confs
 scripts/cleanup
+scripts/copy-test-confs
 echo "${cwd}/tmp/build" >/tmp/file-list
 mkdir ${cwd}/tmp/build
 cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
@@ -22,6 +22,7 @@ sed s%\^%${cwd}/tmp/build/% 1 >restore-list
 rm -f 1
 cd ${cwd}
 
+change_jobname CompressedTest $JobName
 start_test
 
 cat <<END_OF_DATA >tmp/bconcmds
@@ -29,7 +30,7 @@ cat <<END_OF_DATA >tmp/bconcmds
 messages
 @$out tmp/log1.out
 label storage=File volume=TestVolume001
-run job=CompressedTest yes
+run job=$JobName yes
 wait
 messages
 @#