diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oeqa/runtime/cases/clamav.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oeqa/runtime/cases/clamav.py b/lib/oeqa/runtime/cases/clamav.py index e0cad8f..055c1b0 100644 --- a/lib/oeqa/runtime/cases/clamav.py +++ b/lib/oeqa/runtime/cases/clamav.py | |||
@@ -6,6 +6,7 @@ from tempfile import mkstemp | |||
6 | from oeqa.runtime.case import OERuntimeTestCase | 6 | from oeqa.runtime.case import OERuntimeTestCase |
7 | from oeqa.core.decorator.depends import OETestDepends | 7 | from oeqa.core.decorator.depends import OETestDepends |
8 | from oeqa.runtime.decorator.package import OEHasPackage | 8 | from oeqa.runtime.decorator.package import OEHasPackage |
9 | from oeqa.core.decorator.data import skipIfFeature | ||
9 | 10 | ||
10 | 11 | ||
11 | class ClamavTest(OERuntimeTestCase): | 12 | class ClamavTest(OERuntimeTestCase): |
@@ -48,6 +49,7 @@ class ClamavTest(OERuntimeTestCase): | |||
48 | self.assertEqual(status, 0, msg = msg) | 49 | self.assertEqual(status, 0, msg = msg) |
49 | 50 | ||
50 | @OETestDepends(['clamav.ClamavTest.test_ping_clamav_net']) | 51 | @OETestDepends(['clamav.ClamavTest.test_ping_clamav_net']) |
52 | @skipIfFeature('systemd','systemd in DISTRO_FEATURES means update job is already running') | ||
51 | def test_freshclam_download(self): | 53 | def test_freshclam_download(self): |
52 | status, output = self.target.run('freshclam --show-progress') | 54 | status, output = self.target.run('freshclam --show-progress') |
53 | msg = ('freshclam : DB dowbload failed. ' | 55 | msg = ('freshclam : DB dowbload failed. ' |