Stabilization: Change scope of grub2_bootloader_argument templated tests - #15037
Merged
vojtapolasek merged 1 commit intoAug 25, 2026
Conversation
jan-cerny
requested review from
Mab879,
matusmarhefka and
vojtapolasek
as code owners
August 24, 2026 12:03
Some test scenarios test correct handling of *values* of bootloader arguments. But, not all arguments have values, some arguments are value-less, for example `nousb`. For the value-less arguments it doesn't make sense to test the correct handling of values. Some tests that currently attempt to do this are broken. We will fix it by disabling the test scenarios. We will use the well-known "trick" of setting the `# platform` header to `Not Applicable` if the bootloader argument isn't supposed to have any value. These are rules where the template isn't given the `arg_value` or `arg_variable` parameter. Fixes failing templated test scenario `wrong_value_entries.fail.sh` in rule `grub2_nousb_argument`.
jan-cerny
force-pushed
the
grub2_bootloader_argument_test_stabilization
branch
from
August 25, 2026 06:28
42c482c to
038982b
Compare
Member
Author
|
I have removed the empty line. |
vojtapolasek
merged commit Aug 25, 2026
d48b9c1
into
ComplianceAsCode:stabilization
58 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some test scenarios test correct handling of values of bootloader arguments. But, not all arguments have values, some arguments are value-less, for example
nousb. For the value-less arguments it doesn't make sense to test the correct handling of values. Some tests that currently attempt to do this are broken.We will fix it by disabling the test scenarios.
We will use the well-known "trick" of setting the
# platformheader toNot Applicableif the bootloader argument isn't supposed to have any value. These are rules where the template isn't given thearg_valueorarg_variableparameter.Fixes failing templated test scenario
wrong_value_entries.fail.shin rulegrub2_nousb_argument.This PR is a backport of the PR #15026 to the stabilization branch.