diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/recipetool.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/recipetool.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index bdd405f1cc..754ea94982 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py | |||
@@ -367,16 +367,16 @@ class RecipetoolTests(RecipetoolBase): | |||
367 | # Try adding a recipe | 367 | # Try adding a recipe |
368 | tempsrc = os.path.join(self.tempdir, 'srctree') | 368 | tempsrc = os.path.join(self.tempdir, 'srctree') |
369 | os.makedirs(tempsrc) | 369 | os.makedirs(tempsrc) |
370 | recipefile = os.path.join(self.tempdir, 'logrotate_3.8.7.bb') | 370 | recipefile = os.path.join(self.tempdir, 'logrotate_3.12.3.bb') |
371 | srcuri = 'https://github.com/logrotate/logrotate/archive/r3-8-7.tar.gz' | 371 | srcuri = 'https://github.com/logrotate/logrotate/releases/download/3.12.3/logrotate-3.12.3.tar.xz' |
372 | result = runCmd('recipetool create -o %s %s -x %s' % (recipefile, srcuri, tempsrc)) | 372 | result = runCmd('recipetool create -o %s %s -x %s' % (recipefile, srcuri, tempsrc)) |
373 | self.assertTrue(os.path.isfile(recipefile)) | 373 | self.assertTrue(os.path.isfile(recipefile)) |
374 | checkvars = {} | 374 | checkvars = {} |
375 | checkvars['LICENSE'] = 'GPLv2' | 375 | checkvars['LICENSE'] = 'GPLv2' |
376 | checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=18810669f13b87348459e611d31ab760' | 376 | checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263' |
377 | checkvars['SRC_URI'] = 'https://github.com/logrotate/logrotate/archive/r3-8-7.tar.gz' | 377 | checkvars['SRC_URI'] = 'https://github.com/logrotate/logrotate/releases/download/${PV}/logrotate-${PV}.tar.xz' |
378 | checkvars['SRC_URI[md5sum]'] = '6b1aa0e0d07eda3c9a2526520850397a' | 378 | checkvars['SRC_URI[md5sum]'] = 'a560c57fac87c45b2fc17406cdf79288' |
379 | checkvars['SRC_URI[sha256sum]'] = 'dece4bfeb9d8374a0ecafa34be139b5a697db5c926dcc69a9b8715431a22e733' | 379 | checkvars['SRC_URI[sha256sum]'] = '2e6a401cac9024db2288297e3be1a8ab60e7401ba8e91225218aaf4a27e82a07' |
380 | self._test_recipe_contents(recipefile, checkvars, []) | 380 | self._test_recipe_contents(recipefile, checkvars, []) |
381 | 381 | ||
382 | @OETestID(1194) | 382 | @OETestID(1194) |