From: Eric Bollengier Date: Thu, 8 Apr 2021 09:01:57 +0000 (+0200) Subject: regress: Adapt events-test for MySQL output X-Git-Tag: Release-11.3.2~595 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd04c4f65b077b9156703d8f87800a385431f80;p=thirdparty%2Fbacula.git regress: Adapt events-test for MySQL output --- diff --git a/regress/tests/events-test b/regress/tests/events-test index 9500e5185..46d7d9cb0 100755 --- a/regress/tests/events-test +++ b/regress/tests/events-test @@ -86,7 +86,7 @@ run_bconsole stop_bacula -nb_total=`grep "code:" $tmp/log8.out | wc -l` +nb_total=`grep -i "code:" $tmp/log8.out | wc -l` nb_found=`grep " DJ0001" $tmp/log8.out | wc -l` if [ $nb_found != $nb_total ]; then @@ -94,7 +94,7 @@ if [ $nb_found != $nb_total ]; then estat=1 fi -nb_total=`grep "source:" $tmp/log7.out | wc -l` +nb_total=`grep -i "source:" $tmp/log7.out | wc -l` nb_found=`grep " \\*Console*" $tmp/log7.out | wc -l` if [ $nb_found != $nb_total ]; then @@ -102,7 +102,7 @@ if [ $nb_found != $nb_total ]; then estat=1 fi -nb_total=`grep "type:" $tmp/log6.out | wc -l` +nb_total=`grep -i "type:" $tmp/log6.out | wc -l` nb_found=`grep " bweb" $tmp/log6.out | wc -l` if [ $nb_found != $nb_total ]; then