New test that runs through a few different scenarios of assigning repositories to specific package sets. Each scenario defines a set of global repositories (or none) and a set of pipeline-specific repositories (or none) and an expected result. It then calls the distro's PackageSets() method. The test checks that the package sets that are returned are assigned the correct repositories based on the test case's expected result. A basic string-set struct is implemented to help with merging and comparing string slices. This test should currently fail due to #3290. |
||
|---|---|---|
| .. | ||
| distro_test_common | ||
| fedora | ||
| rhel7 | ||
| rhel8 | ||
| rhel9 | ||
| test_distro | ||
| distro.go | ||
| distro_test.go | ||
| image_config.go | ||
| image_config_test.go | ||