]> git.sur5r.net Git - bacula/bacula/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Thu, 10 Jan 2008 15:15:19 +0000 (15:15 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 10 Jan 2008 15:15:19 +0000 (15:15 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6271 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/bscan-1t1d-tape

index 6efeaebfdde9de2fb1dad0c1770ed2e788189028..8c09fadf4d955c90d19932a80ebe17d5e7179527 100755 (executable)
@@ -23,14 +23,11 @@ cat <<END_OF_DATA >tmp/bconcmds
 @output /dev/null
 estimate job=$JobName listing
 estimate job=$JobName listing
-estimate job=$JobName listing
 messages
 @$out tmp/log1.out
 setdebug level=2 storage=DDS-4
 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-run job=$JobName level=Full yes
+run job=$JobName level=Full yes 
 wait
 run job=$JobName level=Full yes
 wait
@@ -59,7 +56,7 @@ messages
 quit
 END_OF_DATA
 
-run_bacula
+run_bconsole
 scripts/check_for_zombie_jobs storage=DDS-4
 
 echo "Backup 2 done"
@@ -68,17 +65,8 @@ touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
 #
 # run a third job
 #
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
 
-run_bacula
+run_bconsole
 scripts/check_for_zombie_jobs storage=DDS-4
 
 echo "Backup 3 done"
@@ -88,19 +76,10 @@ touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
 #
 # run a fourth job
 #
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
 
+run_bconsole
 scripts/check_for_zombie_jobs storage=DDS-4
+
 stop_bacula
 
 echo "Backup 4 done"