aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/runtime/cases/dnf.py4
-rw-r--r--meta/lib/oeqa/runtime/cases/rpm.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py
index 2f87296b4e0..7912ad26f9c 100644
--- a/meta/lib/oeqa/runtime/cases/dnf.py
+++ b/meta/lib/oeqa/runtime/cases/dnf.py
@@ -38,12 +38,12 @@ class DnfBasicTest(DnfTest):
@OETestDepends(['dnf.DnfBasicTest.test_dnf_help'])
@OETestID(1737)
def test_dnf_info(self):
- self.dnf('info dnf')
+ self.dnf('info %sdnf' % self.tc.td['MLPREFIX'])
@OETestDepends(['dnf.DnfBasicTest.test_dnf_help'])
@OETestID(1738)
def test_dnf_search(self):
- self.dnf('search dnf')
+ self.dnf('search %sdnf' % self.tc.td['MLPREFIX'])
@OETestDepends(['dnf.DnfBasicTest.test_dnf_help'])
@OETestID(1736)
diff --git a/meta/lib/oeqa/runtime/cases/rpm.py b/meta/lib/oeqa/runtime/cases/rpm.py
index 05b94c7b40e..137739de6da 100644
--- a/meta/lib/oeqa/runtime/cases/rpm.py
+++ b/meta/lib/oeqa/runtime/cases/rpm.py
@@ -25,7 +25,7 @@ class RpmBasicTest(OERuntimeTestCase):
@OETestID(191)
@OETestDepends(['rpm.RpmBasicTest.test_rpm_help'])
def test_rpm_query(self):
- status, output = self.target.run('rpm -q rpm')
+ status, output = self.target.run('rpm -q %srpm' % self.tc.td['MLPREFIX'])
msg = 'status and output: %s and %s' % (status, output)
self.assertEqual(status, 0, msg=msg)