From 81c10e5aa2ad45f62c25c2e5587d454d945d7070 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 17 Feb 2009 09:22:55 +0000 Subject: [PATCH] ebl Check database encoding git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8457 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/scripts/functions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/regress/scripts/functions b/regress/scripts/functions index 2947de38f7..16d9398813 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -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() -- 2.39.5