From 0a8f50fd31459834061117a1b5f0a341836e1e8b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 5 Jun 2018 22:38:39 +0000 Subject: oeqa/runtime/dnf: Fix test error when static libs are enabled The test works by excluding curl-dev which curl-staticdev depends upon. When static libraries aren't disabled, this leads to an odd looking test failure. Simply exclude curl-staticdev as well in case its enabled to make sure the test always works. (From OE-Core rev: dfded083d9456c8d2bb168dbe8e08b2ffb3e1a26) Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/dnf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib') diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py index ef81a8cb7d..c1ed39d776 100644 --- a/meta/lib/oeqa/runtime/cases/dnf.py +++ b/meta/lib/oeqa/runtime/cases/dnf.py @@ -161,7 +161,7 @@ class DnfRepoTest(DnfTest): #check curl-dev is not installed adter removing all curl occurrences status, output = self.target.run('dnf list --installed | grep %s'% excludepkg, 1500) self.assertEqual(1, status, "%s was not removed, is listed as installed"%excludepkg) - self.dnf_with_repo('install -y --exclude=%s curl*' % excludepkg) + self.dnf_with_repo('install -y --exclude=%s --exclude=curl-staticdev curl*' % excludepkg) #check curl-dev is not installed after being excluded status, output = self.target.run('dnf list --installed | grep %s'% excludepkg , 1500) self.assertEqual(1, status, "%s was not excluded, is listed as installed"%excludepkg) -- cgit v1.2.3-54-g00ecf