]> git.sur5r.net Git - bacula/bacula/commitdiff
Update backup-bacula-test
authorKern Sibbald <kern@sibbald.com>
Mon, 7 May 2007 13:37:16 +0000 (13:37 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 7 May 2007 13:37:16 +0000 (13:37 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4720 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/backup-bacula-test

index 8b839408e0d2d80aff047e87eb1b2c8be7b5663e..2dda0ac205182fc6be0c87a0c1673a645335224c 100755 (executable)
@@ -57,6 +57,37 @@ run_bacula
 check_for_zombie_jobs storage=File
 stop_bacula
 
+cat <<END_OF_DATA >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