summaryrefslogtreecommitdiff
path: root/poky/bitbake/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2022-11-03 19:10:55 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-11-03 20:06:15 +0300
commitf241bb5774c192f7e64e38b87e0a455f90c5ce54 (patch)
treed595fe987ebf6fc69dee469462408df06b5b4a9e /poky/bitbake/lib/bb/tests/fetch.py
parent5641269ed7838c5ea402b23c5e0ac0af5d6a866b (diff)
downloadopenbmc-f241bb5774c192f7e64e38b87e0a455f90c5ce54.tar.xz
subtree updates
meta-arm: 14c7e5b336..4ee457693e: Abdellatif El Khlifi (1): kas: corstone1000: set branches to langdale Jon Mason (2): CI: fix to langdale CI: Remove host bitbake variables Mohamed Omar Asaker (5): arm-bsp/u-boot: corstone1000: support 32bit ffa direct messaging Revert "arm-bsp/trusted-firmware-m: corstone1000: secure debug code checkout from yocto" Revert "arm-bsp/trusted-firmware-m: corstone1000: bump tfm SHA" arm-bsp/trusted-firmware-m: corstone1000 support FMP image info arm-bsp/corstone1000: add msd configs for fvp Ross Burton (5): arm/hafnium: add missing Upstream-Status arm-bsp/hafnium: add missing Upstream-Status arm-bsp/linux-arm64-ack: fix malformed Upstream-Status tag CI: add documentation job CI: track meta-openembedded's langdale branch Rui Miguel Silva (2): arm/trusted-services: port crypto config arm-bsp/corstone1000: apply ts patch to psa crypto api test Satish Kumar (1): arm-bsp/trusted-service: corstone1000: esrt support Vishnu Banavath (2): runfvp: corstone1000: add mmc card configuration meta-arm-bsp/doc: add readthedocs for corstone1000 meta-security: e8e7318189..2aa48e6f4e: Armin Kuster (1): kas-security-base.yml: make work again Gowtham Suresh Kumar (1): Update PARSEC recipe to latest v1.1.0 release Michael Haener (1): tpm2-openssl: update to 1.1.1 meta-openembedded: 8073ec2275..c5668905a6: Akash Hadke (1): audit: Fix compile error for audit_2.8.5 Armin Kuster (1): meta-openemnedded: Add myself as langdale maintainer Etienne Cordonnier (1): uutils-coreutils: upgrade 0.0.15 -> 0.0.16 Gianfranco Costamagna (1): vboxguestdrivers: upgrade 6.1.38 -> 7.0.0 Khem Raj (3): postfix: Upgrade to 3.7.3 msktutil: Add recipe protobuf: Enable protoc binary in nativesdk Markus Volk (1): perfetto: build libperfetto Ovidiu Panait (1): syzkaller: add recipe and selftest for syzkaller fuzzing Sebastian Trahm (1): Add recipe for python3-pytest-json-report Zheng Qiu (1): jq: improve ptest and disable valgrind by default poky: 95c802b0be..6b9db5a99b: Adrian Freihofer (1): own-mirrors: add crate Alex Kiernan (2): u-boot: Remove duplicate inherit of cml1 u-boot: Add savedefconfig task Bartosz Golaszewski (1): bluez5: add dbus to RDEPENDS Chen Qi (1): openssl: export necessary env vars in SDK Frank de Brabander (1): cve-update-db-native: add timeout to urlopen() calls Johan Korsnes (1): bitbake: bitbake: user-manual: inform about spaces in :remove Jon Mason (1): linux-yocto: add efi entry for machine features Keiya Nobuta (1): gnutls: Unified package names to lower-case Khem Raj (1): perf: Depend on native setuptools3 Lee Chee Yang (2): migration-guides/release-notes-4.1.rst: update Repositories / Downloads migration-guides/release-notes-4.1.rst: update Repositories / Downloads Mark Asselstine (1): bitbake: tests: bb.tests.fetch.URLHandle: add 2 new tests Mark Hatle (2): insane.bbclass: Allow hashlib version that only accepts on parameter bitbake: utils/ply: Update md5 to better report errors with hashlib Michael Opdenacker (4): manuals: updates for building on Windows (WSL 2) ref-manual: classes.rst: add links to all references to a class poky.conf: remove Ubuntu 21.10 bitbake: doc: bitbake-user-manual: expand description of BB_PRESSURE_MAX variables Ming Liu (1): dropbear: add pam to PACKAGECONFIG Paul Eggleton (1): install-buildtools: support buildtools-make-tarball and update to 4.1 Peter Kjellerstedt (1): gcc: Allow -Wno-error=poison-system-directories to take effect Quentin Schulz (1): docs: add support for langdale (4.1) release Richard Purdie (2): openssl: Fix SSL_CERT_FILE to match ca-certs location bitbake: tests/fetch: Allow handling of a file:// url within a submodule Ross Burton (9): populate_sdk_base: ensure ptest-pkgs pulls in ptest-runner scripts/oe-check-sstate: cleanup scripts/oe-check-sstate: force build to run for all targets, specifically populate_sysroot externalsrc: move back to classes opkg-utils: use a git clone, not a dynamic snapshot oe/packagemanager/rpm: don't leak file objects zlib: use .gz archive and set a PREMIRROR glib-2.0: fix rare GFileInfo test case failure lighttpd: fix CVE-2022-41556 Thomas Perrot (1): psplash: add psplash-default in rdepends Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I120c51ea936c5a6bddf80ea25879b9f023365c38
Diffstat (limited to 'poky/bitbake/lib/bb/tests/fetch.py')
-rw-r--r--poky/bitbake/lib/bb/tests/fetch.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/poky/bitbake/lib/bb/tests/fetch.py b/poky/bitbake/lib/bb/tests/fetch.py
index b4ed691f33..0af06e46e5 100644
--- a/poky/bitbake/lib/bb/tests/fetch.py
+++ b/poky/bitbake/lib/bb/tests/fetch.py
@@ -1331,12 +1331,14 @@ class URLHandle(unittest.TestCase):
"cvs://anoncvs:anonymous@cvs.handhelds.org/cvs;tag=V0-99-81;module=familiar/dist/ipkg" : ('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', 'anonymous', collections.OrderedDict([('tag', 'V0-99-81'), ('module', 'familiar/dist/ipkg')])),
"git://git.openembedded.org/bitbake;branch=@foo" : ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo'}),
"file://somelocation;someparam=1": ('file', '', 'somelocation', '', '', {'someparam': '1'}),
+ r'git://s.o-me_ONE:!#$%^&*()-_={}[]\|:?,.<>~`@git.openembedded.org/bitbake;branch=main': ('git', 'git.openembedded.org', '/bitbake', 's.o-me_ONE', r'!#$%^&*()-_={}[]\|:?,.<>~`', {'branch': 'main'}),
}
# we require a pathname to encodeurl but users can still pass such urls to
# decodeurl and we need to handle them
decodedata = datatable.copy()
decodedata.update({
"http://somesite.net;someparam=1": ('http', 'somesite.net', '/', '', '', {'someparam': '1'}),
+ "npmsw://some.registry.url;package=@pkg;version=latest": ('npmsw', 'some.registry.url', '/', '', '', {'package': '@pkg', 'version': 'latest'}),
})
def test_decodeurl(self):
@@ -1869,7 +1871,7 @@ class GitShallowTest(FetcherTest):
self.add_empty_file('bsub', cwd=smdir)
self.git('submodule init', cwd=self.srcdir)
- self.git('submodule add file://%s' % smdir, cwd=self.srcdir)
+ self.git('-c protocol.file.allow=always submodule add file://%s' % smdir, cwd=self.srcdir)
self.git('submodule update', cwd=self.srcdir)
self.git('commit -m submodule -a', cwd=self.srcdir)
@@ -1899,7 +1901,7 @@ class GitShallowTest(FetcherTest):
self.add_empty_file('bsub', cwd=smdir)
self.git('submodule init', cwd=self.srcdir)
- self.git('submodule add file://%s' % smdir, cwd=self.srcdir)
+ self.git('-c protocol.file.allow=always submodule add file://%s' % smdir, cwd=self.srcdir)
self.git('submodule update', cwd=self.srcdir)
self.git('commit -m submodule -a', cwd=self.srcdir)