]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/restore2-by-file-test
Update
[bacula/bacula] / regress / tests / restore2-by-file-test
index 5239eb009b1cf8b4aa3e7a29915bca10c0ffa3cb..77b4e375a57c78146e86cc33fa8d40bf33673644 100755 (executable)
@@ -7,13 +7,12 @@ TestName="restore2-by-file-test"
 JobName=restore2byfile
 . scripts/functions
 set_debug 0
+copy_test_confs
 
-cwd=`pwd`
-scripts/copy-test-confs
-scripts/cleanup
 echo "${cwd}/build" >/tmp/file-list
 sed s%\^%${cwd}% ${cwd}/scripts/flist >${cwd}/tmp/restore2-list
 
+change_jobname CompressedTest $JobName
 start_test
 
 cat <<END_OF_DATA >tmp/bconcmds
@@ -21,7 +20,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
 @#