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