JobId Level Name Status
======================================================================
1 Full BUG_FATAL.2007-05-08_18.47.50 has a fatal error
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4730
91ce42f0-d328-0410-95d8-
f526ca767f89
Run After Failed Job = "/bin/echo RunAfterFailedJob"
}
+Job {
+ Name = BUG_FATAL
+ JobDefs = DefaultJob
+ FileSet = FS_TESTJOB
+}
+
+
# Client (File Services) to backup
Client {
Name = @hostname@-fd
--- /dev/null
+#!/bin/sh
+#
+# Test RunScript
+#
+
+TestName="bug-fatal-test"
+JobName=backup
+
+. scripts/functions
+set_debug 0
+copy_test_confs
+
+rm -f bin/bacula-dir.conf
+rm -f tmp/RUN*log
+/bin/cp -f scripts/bacula-dir.conf.testrunscript bin/bacula-dir.conf
+
+rm -f /tmp/file-list
+# /tmp/file-list doesn't exists
+# echo "${cwd}/build/po" >/tmp/file-list
+
+start_test
+
+cat <<END_OF_DATA >tmp/bconcmds
+@$out /dev/null
+messages
+label volume=TestVolume001
+@$out tmp/RUN_BUG_FATAL.log
+run job=BUG_FATAL yes
+wait
+messages
+@sleep 1
+st dir
+quit
+END_OF_DATA
+
+
+bin/bacula start
+cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf > /dev/null
+stop_bacula
+
+export dstat=0
+export bstat=0
+export rstat=0
+
+end_test