From 7f5e47f12f194276b80ae4cccb6f5d5a2a242f61 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 7 May 2007 13:37:16 +0000 Subject: [PATCH] Update backup-bacula-test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4720 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/backup-bacula-test | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/regress/tests/backup-bacula-test b/regress/tests/backup-bacula-test index 8b839408e0..2dda0ac205 100755 --- a/regress/tests/backup-bacula-test +++ b/regress/tests/backup-bacula-test @@ -57,6 +57,37 @@ run_bacula check_for_zombie_jobs storage=File stop_bacula +cat <tmp/bconcmds +@output /dev/null +messages +@$out tmp/log1.out +@#setdebug level=100 storage=File +run job=$JobName yes +wait +messages +@# +@# now do a restore +@# +@$out tmp/log2.out +restore where=${cwd}/tmp/bacula-restores select all done +yes +wait +messages +@$out +quit +END_OF_DATA + +# +# Now do a second backup after making a few changes +# +touch ${cwd}/build/src/dird/*.c +echo "test test" > ${cwd}/build/src/dird/xxx +# + +run_bacula +check_for_zombie_jobs storage=File +stop_bacula + check_two_logs check_restore_diff end_test -- 2.39.5