summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/pkgdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/pkgdata.py')
-rw-r--r--meta/lib/oeqa/selftest/pkgdata.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/pkgdata.py b/meta/lib/oeqa/selftest/pkgdata.py
index f689bf344e..34eea468e8 100644
--- a/meta/lib/oeqa/selftest/pkgdata.py
+++ b/meta/lib/oeqa/selftest/pkgdata.py
@@ -207,6 +207,11 @@ class OePkgdataUtilTests(oeSelfTest):
207 # The following should not error (because when we use this during rootfs construction, sometimes the complementary package won't exist) 207 # The following should not error (because when we use this during rootfs construction, sometimes the complementary package won't exist)
208 result = runCmd('oe-pkgdata-util glob %s "*-nonexistent"' % pkglistfile) 208 result = runCmd('oe-pkgdata-util glob %s "*-nonexistent"' % pkglistfile)
209 self.assertEqual(result.output, '') 209 self.assertEqual(result.output, '')
210 # Test exclude option
211 result = runCmd('oe-pkgdata-util glob %s "*-dev *-dbg" -x "^libz"' % pkglistfile)
212 resultlist = result.output.split()
213 self.assertNotIn('libz-dev', resultlist)
214 self.assertNotIn('libz-dbg', resultlist)
210 215
211 def test_specify_pkgdatadir(self): 216 def test_specify_pkgdatadir(self):
212 result = runCmd('oe-pkgdata-util -p %s lookup-pkg glibc' % get_bb_var('PKGDATA_DIR')) 217 result = runCmd('oe-pkgdata-util -p %s lookup-pkg glibc' % get_bb_var('PKGDATA_DIR'))