]> git.sur5r.net Git - bacula/bacula/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Fri, 23 Mar 2007 21:23:33 +0000 (21:23 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 23 Mar 2007 21:23:33 +0000 (21:23 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4398 91ce42f0-d328-0410-95d8-f526ca767f89

regress/kern.conf
regress/tests/incremental-2disk

index 0839ca77bf4f806cfd900d751f973169c59c7b5d..15512ce3b27445b30afb122cbdb690783d235437 100644 (file)
@@ -1,5 +1,5 @@
 # Where to get the source to be tested
-#BACULA_SOURCE="${HOME}/bacula/branch-2.0"
+#BACULA_SOURCE="${HOME}/bacula/bacula/branch-2.0"
 BACULA_SOURCE="${HOME}/bacula/k"
 
 # Where to send email   !!!!! Change me !!!!!!!
@@ -20,8 +20,8 @@ TAPE_DRIVE1="/dev/null"
 AUTOCHANGER_PATH="/usr/sbin/mtx"
 
 # Set your database here
-WHICHDB="--with-sqlite=${SQLITE_DIR}"
-#WHICHDB="--with-mysql"
+#WHICHDB="--with-sqlite=${SQLITE_DIR}"
+WHICHDB="--with-mysql"
 #WHICHDB="--with-postgresql"
 
 # Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
index a2227f79bb38c8a2405b73236da3d9a034edc816..7f99654e192c7c7b76e076e48a4757eacccd50a8 100755 (executable)
@@ -89,4 +89,18 @@ rm -f tmp/build/*.c
 
 check_two_logs
 check_restore_tmp_build_diff
+
+#
+# This script seems to more or less randomly fail, so we
+#  add extra code here to produce a "dump" in the event of
+#  an error.
+#
+if [ $dstat != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
+   cat tmp/log1.out
+   echo "  "
+   cat tmp/log2.out
+   echo "  "
+   diff -r tmp/build tmp/bacula-restores${cwd}/tmp/build
+fi
+
 end_test