From: Eric Bollengier Date: Sun, 2 Aug 2009 19:56:06 +0000 (+0200) Subject: tweak regress test X-Git-Tag: Release-5.0.0~343 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=757b4cace809ae64cb56bcbb42022080e15646bf;p=bacula%2Fbacula tweak regress test --- diff --git a/regress/tests/base-job-test b/regress/tests/base-job-test index be8f0fa0d6..b63def9141 100755 --- a/regress/tests/base-job-test +++ b/regress/tests/base-job-test @@ -55,44 +55,25 @@ END_OF_DATA run_bacula -cat <${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 <${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 <${cwd}/tmp/bconcmds @$out ${cwd}/tmp/log4.out label volume=TestVolume002 storage=File pool=Default run job=backup level=full yes