poky/bitbake/lib/bb/tests
Richard Purdie 1f103ae930 bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48
>From git 2.48 release notes:

"""
When "git fetch $remote" notices that refs/remotes/$remote/HEAD is
missing and discovers what branch the other side points with its
HEAD, refs/remotes/$remote/HEAD is updated to point to it.
"""

This means with git 2.48 onwards, there is a mystery "HEAD" revision
appearing in some of our shallow clone tests. We can avoid this by
using the same canonicalization as used for the reference revisions.

This resolves autobuilder failures on the Fedora 40 workers.

(Bitbake rev: e71f1ce53cf3b8320caa481ae62d1ce2900c4670)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c83444d1210740e27b1744d3aa7c5cad4e28db2f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-02-05 06:54:35 -08:00
..
fetch-testdata bitbake: fetch: add a test for version check where compression changes 2021-12-09 10:56:49 +00:00
runqueue-tests bitbake: bitbake: Rename basehas and taskhash filtering variables 2022-02-21 23:37:26 +00:00
support bitbake: tests/fetch: Allow wget upgrade tests to run against a local server 2020-01-22 15:56:39 +00:00
__init__.py
codeparser.py bitbake: data: Add missing dependency handling of remove operator 2024-01-04 05:00:12 -10:00
color.py bitbake: tests/color: Fix event register to pass the datastore 2021-03-12 15:28:57 +00:00
compression.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
cooker.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
cow.py bitbake: COW: migrate test suite into tests/cow 2020-09-02 16:01:05 +01:00
data.py bitbake: data_smart: Fix inactive overide accidental variable value corruption 2021-08-04 10:38:43 +01:00
event.py bitbake: compat.py: remove file since it no longer actually implements anything 2020-08-26 09:05:38 +01:00
fetch.py bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48 2025-02-05 06:54:35 -08:00
parse.py bitbake: ConfHandler/BBHandler: Improve comment error messages and add tests 2022-09-16 17:53:22 +01:00
persist_data.py bitbake: bitbake: Strip old editor directives from file headers 2019-05-04 10:44:10 +01:00
runqueue.py bitbake: bitbake: Rename setscene enforce filtering variable 2022-02-21 23:37:26 +00:00
siggen.py bitbake: bitbake: tests/siggen: introduce clean_basepath testcases 2020-09-23 20:55:53 +01:00
utils.py bitbake: tests/utils: mark a regex as a raw string 2021-10-08 16:45:05 +01:00