PTU5KAS/tests
Jan Kiszka f1f358bed5 repos: git: Always replicate refs/ into local branches on checkout
If a refspec addresses an upstream branch which commit happens to be
local already, checkout will not properly replicate that into a local
branch. Extend contains_refspec_cmd so that it does not falsely report
the remotes/origin/ ref as locally available and rather triggers its
fetching.

The related test case was papering over this issue so far. Adjust it
accordingly.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2023-05-30 13:36:26 +02:00
..
test_build_system tests: Stress the build_system property 2020-11-16 11:53:29 +01:00
test_commands test handling of command exec errors 2023-05-10 09:02:53 +02:00
test_environment_variables tests: Add test case for environment variables 2022-11-11 13:35:45 +01:00
test_layers repos: strip dot from layer name 2021-05-05 15:43:58 +02:00
test_menu tests: Add basic tests for menu plugin 2021-10-09 15:02:22 +02:00
test_patch repos: add tests for common errors 2023-05-19 06:49:57 +02:00
test_refspec fix: Raise an error if no refspec is provided 2022-02-21 20:05:31 +01:00
test_repo_includes add test for resolve-env option in dump plugin 2022-12-13 14:41:00 +01:00
conftest.py tests: Extract common changedir fixture 2020-11-13 21:00:35 +01:00
test_build_system.py tests: Clean up remaining temporary directory setups 2023-02-12 13:55:23 +01:00
test_commands.py fix: collect exceptions on task errors 2023-05-19 06:36:31 +02:00
test_environment_variables.py tests: Clean up remaining temporary directory setups 2023-02-12 13:55:23 +01:00
test_includehandler.py tests: Add include test case for multiple files in sub-dirs 2021-08-19 10:10:26 +02:00
test_layers.py tests: Clean up remaining temporary directory setups 2023-02-12 13:55:23 +01:00
test_menu.py test combination of kas menu and KAS_WORK_DIR 2023-05-30 11:08:49 +02:00
test_patch.py repos: add tests for common errors 2023-05-19 06:49:57 +02:00
test_refspec.py repos: git: Always replicate refs/ into local branches on checkout 2023-05-30 13:36:26 +02:00