]> git.sur5r.net Git - bacula/bacula/commitdiff
tweak regress test
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 2 Aug 2009 19:56:06 +0000 (21:56 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 3 Aug 2009 14:39:21 +0000 (16:39 +0200)
regress/tests/base-job-test

index be8f0fa0d68b5b6c014c41a592c6ecb936b91dcc..b63def91411318c83f98bbb9f0d0eb3614dbbd9a 100755 (executable)
@@ -55,44 +55,25 @@ END_OF_DATA
 
 run_bacula
 
-cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out ${cwd}/tmp/log1.out
-run job=backup level=full yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out ${cwd}/tmp/log2.out  
-restore fileset=FS_TESTJOB where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-messages
-@$out
-END_OF_DATA
-
-################################################################
-p First :  We just run a full backup and restore
-################################################################
-
-run_bconsole
-check_for_zombie_jobs storage=File
-
-check_two_logs
-check_restore_diff
-
-rm -rf ${cwd}/tmp/bacula-restores
-
 ################################################################
 p Now do a second backup using base backup
 ################################################################
 
+echo ${cwd}/bin >> ${cwd}/tmp/file-list
+
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @$out ${cwd}/tmp/log1.out
 run job=base_backup level=base yes
 wait
 messages
 update volume=TestVolume001 volstatus=Used
+END_OF_DATA
+
+run_bconsole
+
+echo ${cwd}/build > ${cwd}/tmp/file-list
+
+cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @$out ${cwd}/tmp/log4.out
 label volume=TestVolume002 storage=File pool=Default
 run job=backup level=full yes