summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/cases/dnf.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py
index 67484bc9f9..e93a1cea06 100644
--- a/meta/lib/oeqa/runtime/cases/dnf.py
+++ b/meta/lib/oeqa/runtime/cases/dnf.py
@@ -67,7 +67,8 @@ class DnfRepoTest(DnfTest):
67 deploy_url = 'http://%s:%s/' %(self.target.server_ip, self.repo_server.port) 67 deploy_url = 'http://%s:%s/' %(self.target.server_ip, self.repo_server.port)
68 cmdlinerepoopts = ["--repofrompath=oe-testimage-repo-%s,%s%s" %(arch, deploy_url, arch) for arch in pkgarchs] 68 cmdlinerepoopts = ["--repofrompath=oe-testimage-repo-%s,%s%s" %(arch, deploy_url, arch) for arch in pkgarchs]
69 69
70 self.dnf(" ".join(cmdlinerepoopts) + " --nogpgcheck " + command) 70 output = self.dnf(" ".join(cmdlinerepoopts) + " --nogpgcheck " + command)
71 return output
71 72
72 @OETestDepends(['dnf.DnfBasicTest.test_dnf_help']) 73 @OETestDepends(['dnf.DnfBasicTest.test_dnf_help'])
73 @OETestID(1744) 74 @OETestID(1744)
@@ -88,6 +89,9 @@ class DnfRepoTest(DnfTest):
88 @OETestDepends(['dnf.DnfRepoTest.test_dnf_makecache']) 89 @OETestDepends(['dnf.DnfRepoTest.test_dnf_makecache'])
89 @OETestID(1740) 90 @OETestID(1740)
90 def test_dnf_install(self): 91 def test_dnf_install(self):
92 output = self.dnf_with_repo('list run-postinsts-dev')
93 if 'Installed Packages' in output:
94 self.dnf_with_repo('remove -y run-postinsts-dev')
91 self.dnf_with_repo('install -y run-postinsts-dev') 95 self.dnf_with_repo('install -y run-postinsts-dev')
92 96
93 @OETestDepends(['dnf.DnfRepoTest.test_dnf_install']) 97 @OETestDepends(['dnf.DnfRepoTest.test_dnf_install'])