]> code.ossystems Code Review - openembedded-core.git/commitdiff
dnf.py: check busybox for case test_dnf_installroot
authorKai Kang <kai.kang@windriver.com>
Tue, 8 Oct 2019 07:51:02 +0000 (15:51 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Oct 2019 19:52:19 +0000 (20:52 +0100)
Check package busybox which is required by cases test_dnf_installroot
and test_dnf_installroot_usrmerge.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/dnf.py

index 80cc86a4fbc7159982f0b3bc0b9cc24de294d6b7..de3759995eb36f9ecf74cb069cf6ab5b47f7ccb8 100644 (file)
@@ -117,6 +117,7 @@ class DnfRepoTest(DnfTest):
 
     @OETestDepends(['dnf.DnfRepoTest.test_dnf_makecache'])
     @skipIfInDataVar('DISTRO_FEATURES', 'usrmerge', 'Test run when not enable usrmerge')
+    @OEHasPackage('busybox')
     def test_dnf_installroot(self):
         rootpath = '/home/root/chroot/test'
         #Copy necessary files to avoid errors with not yet installed tools on
@@ -143,6 +144,7 @@ class DnfRepoTest(DnfTest):
 
     @OETestDepends(['dnf.DnfRepoTest.test_dnf_makecache'])
     @skipIfNotInDataVar('DISTRO_FEATURES', 'usrmerge', 'Test run when enable usrmege')
+    @OEHasPackage('busybox')
     def test_dnf_installroot_usrmerge(self):
         rootpath = '/home/root/chroot/test'
         #Copy necessary files to avoid errors with not yet installed tools on