]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Adapt events-test for MySQL output
authorEric Bollengier <eric@baculasystems.com>
Thu, 8 Apr 2021 09:01:57 +0000 (11:01 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:01 +0000 (09:03 +0100)
regress/tests/events-test

index 9500e5185369ff374a03973016077b1ecb61238a..46d7d9cb094eb94228e5bad1bdf4a6f8950c993f 100755 (executable)
@@ -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