From: Eric Bollengier Date: Tue, 13 Sep 2022 13:00:47 +0000 (+0200) Subject: regress: Test new FileEvent list X-Git-Tag: Beta-15.0.0~446 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b45c271526d72231589f14b9535795b148af0ee;p=thirdparty%2Fbacula.git regress: Test new FileEvent list --- diff --git a/regress/tests/antivirus-plugin-test b/regress/tests/antivirus-plugin-test index ae6fcdd70..dc85be470 100755 --- a/regress/tests/antivirus-plugin-test +++ b/regress/tests/antivirus-plugin-test @@ -87,6 +87,8 @@ run job=VerifyData jobid=3 storage=File1 yes wait messages +@$out ${cwd}/tmp/log5.out +list fileevents jobid=3 quit END_OF_DATA @@ -104,5 +106,11 @@ if [ $nb != 1 ]; then estat=2 fi +nb=`grep "Eicar-Signature FOUND" $tmp/log5.out | wc -l` +if [ $nb != 1 ]; then + print_debug "ERROR: Should find Eicar virus in $tmp/log5.out" + estat=2 +fi + stop_bacula end_test