]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/incremental-tape
Add execute bit on errors-test
[bacula/bacula] / regress / tests / incremental-tape
index 263d9da6fe8a616a87237bcd957d4574f904cd0a..2c5fd6d3a9926cbb9d8c8e19c0c77a4375a12ec1 100755 (executable)
@@ -6,10 +6,9 @@
 TestName="incremental-tape"
 JobName=IncTape
 . scripts/functions
-set_debug 0
 
-scripts/copy-tape-confs
-scripts/cleanup-tape
+copy_tape_confs
+
 echo "${cwd}/tmp/build" >/tmp/file-list
 if test ! -d ${cwd}/tmp/build ; then
    mkdir ${cwd}/tmp/build
@@ -20,7 +19,7 @@ echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
 echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
 cd ${cwd}
 
-change_jobname $JobName
+change_jobname NightlySave $JobName
 start_test
 
 cat <<END_OF_DATA >tmp/bconcmds
@@ -34,7 +33,8 @@ messages
 quit
 END_OF_DATA
 
-scripts/check_for_zombie_jobs storage=DDS-4
+run_bacula
+check_for_zombie_jobs storage=DDS-4
 
 echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
 echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
@@ -61,7 +61,7 @@ messages
 quit
 END_OF_DATA
 
-run_bacula
+run_bconsole
 check_for_zombie_jobs storage=DDS-4
 stop_bacula