]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Check database encoding
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 17 Feb 2009 09:22:55 +0000 (09:22 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 17 Feb 2009 09:22:55 +0000 (09:22 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8457 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/functions

index 2947de38f7dfae6bf0b8a04d9fbc403ca66e3bd0..16d9398813bc1ccbc68836482959f6092ddf4735 100644 (file)
@@ -248,6 +248,11 @@ check_two_logs()
    if test $? -eq 0; then
       rstat=4
    fi
+   grep "Encoding error for database" tmp/log1.out > /dev/null
+   if test $? -eq 0; then
+      print_debug "Found database encoding error"
+      bstat=2
+   fi
 }
 
 check_restore_diff()