]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/small-file-size-tape
Verify if the Exclude Dir Containing directive does his job
[bacula/bacula] / regress / tests / small-file-size-tape
index a677de65415fe496a04d49fb54de69c1e1dde299..2e1dc65e1d30b08ba2093e5f071c4fd49faebae6 100755 (executable)
@@ -3,7 +3,7 @@
 # Run a simple backup of the Bacula build directory 
 #   to a tape where the maximum tape file size is set to 1M
 #
-TestName="small-file-size-1t1d-tape"
+TestName="small-file-size-tape"
 JobName=smallfilesize
 . scripts/functions
 
@@ -20,11 +20,11 @@ change_jobname NightlySave $JobName
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@output /dev/null
+@$out /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-setdebug level=2 storage=DDS-4
+label storage=tape volume=TestVolume001 slot=0 pool=Default
+setdebug level=2 storage=tape
 run job=$JobName yes
 wait
 messages
@@ -32,19 +32,18 @@ messages
 @# now do a restore
 @#
 @$out   ${cwd}/tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
+restore where=${cwd}/tmp/bacula-restores select storage=tape
 unmark *
 mark *
 done
 yes
 wait
 messages
-@output
 quit
 END_OF_DATA
 
 run_bacula
-check_for_zombie_jobs storage=DDS-4
+check_for_zombie_jobs storage=tape
 stop_bacula
 
 check_two_logs