summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-10-08 15:51:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-09 14:07:43 +0100
commitff4b1d7ba707533f3026f92ce9ba59f80120c938 (patch)
treeb15c309917a1d3e126971f4dcaa99e8f5e1aa2a8 /meta/lib/oeqa/runtime
parente9ab95da308dcf6bbe705bb31ae9b38d11f43e60 (diff)
downloadpoky-ff4b1d7ba707533f3026f92ce9ba59f80120c938.tar.gz
dnf.py: check busybox for case test_dnf_installroot
Check package busybox which is required by cases test_dnf_installroot and test_dnf_installroot_usrmerge. (From OE-Core rev: 0f09c5b7a9a66af825951354b436b69dd9a596a4) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/cases/dnf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py
index 80cc86a4fb..de3759995e 100644
--- a/meta/lib/oeqa/runtime/cases/dnf.py
+++ b/meta/lib/oeqa/runtime/cases/dnf.py
@@ -117,6 +117,7 @@ class DnfRepoTest(DnfTest):
117 117
118 @OETestDepends(['dnf.DnfRepoTest.test_dnf_makecache']) 118 @OETestDepends(['dnf.DnfRepoTest.test_dnf_makecache'])
119 @skipIfInDataVar('DISTRO_FEATURES', 'usrmerge', 'Test run when not enable usrmerge') 119 @skipIfInDataVar('DISTRO_FEATURES', 'usrmerge', 'Test run when not enable usrmerge')
120 @OEHasPackage('busybox')
120 def test_dnf_installroot(self): 121 def test_dnf_installroot(self):
121 rootpath = '/home/root/chroot/test' 122 rootpath = '/home/root/chroot/test'
122 #Copy necessary files to avoid errors with not yet installed tools on 123 #Copy necessary files to avoid errors with not yet installed tools on
@@ -143,6 +144,7 @@ class DnfRepoTest(DnfTest):
143 144
144 @OETestDepends(['dnf.DnfRepoTest.test_dnf_makecache']) 145 @OETestDepends(['dnf.DnfRepoTest.test_dnf_makecache'])
145 @skipIfNotInDataVar('DISTRO_FEATURES', 'usrmerge', 'Test run when enable usrmege') 146 @skipIfNotInDataVar('DISTRO_FEATURES', 'usrmerge', 'Test run when enable usrmege')
147 @OEHasPackage('busybox')
146 def test_dnf_installroot_usrmerge(self): 148 def test_dnf_installroot_usrmerge(self):
147 rootpath = '/home/root/chroot/test' 149 rootpath = '/home/root/chroot/test'
148 #Copy necessary files to avoid errors with not yet installed tools on 150 #Copy necessary files to avoid errors with not yet installed tools on