-sleep 2
-bin/bacula stop
-diff -ur build /tmp/bacula-restores${cwd}/build
-if [ $? != 0 ] ; then
- echo " "
- echo " "
- echo " ===== Test1 Bacula source failed!!! ===== "
- echo " ===== Test1 failed!!! ===== " >>test.out
- echo " "
-else
- echo " ===== Test1 Bacula source OK ===== "
- echo " ===== Test1 OK ===== " >>test.out
-fi
-rm -rf /tmp/bacula-restores
+
+#
+# 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