diff options
author | varac <varacanero@zeromail.org> | 2016-03-17 20:15:13 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-03-17 20:15:13 +0100 |
commit | dbdd754747c754f7a678659bc52e2c60ee5b751c (patch) | |
tree | 40bf57b180027ef28150029de082c43375121db1 /tests/white-box/mx.rb | |
parent | dab3b9227dc2f7977c5f34396f132984fa0485bf (diff) |
[bug] Fix query for clamav signature files
Diffstat (limited to 'tests/white-box/mx.rb')
-rw-r--r-- | tests/white-box/mx.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/white-box/mx.rb b/tests/white-box/mx.rb index 9335649a..ff8cb744 100644 --- a/tests/white-box/mx.rb +++ b/tests/white-box/mx.rb @@ -39,7 +39,7 @@ class Mx < LeapTest assert_running 'postfwd2::policy$' assert_running '^/usr/sbin/unbound$' assert_running '^/usr/bin/freshclam' - if Dir.glob("/var/lib/clamav/main.{c[vl]d,inc}").size > 0 and Dir.glob("/var/lib/clamav/daily.{c[vl]d,inc}").size > 1 + if Dir.glob("/var/lib/clamav/main.{c[vl]d,inc}").size > 0 and Dir.glob("/var/lib/clamav/daily.{c[vl]d,inc}").size > 0 assert_running '^/usr/sbin/clamd' assert_running '^/usr/sbin/clamav-milter' else |