8000 Remove superfluous TSs from grub2_audit_backlog_limit_argument by jan-cerny · Pull Request #13452 · ComplianceAsCode/content · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove superfluous TSs from grub2_audit_backlog_limit_argument #13452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025

Conversation

jan-cerny
Copy link
Collaborator

This commit removes static test scenarios from rule grub2_audit_backlog_limit_argument because this rule is templated and the functionality is already tested by templated test scenarios. Moreover, the static test scenarios are incomplete. For example: correct_grubenv.pass.sh currently fails because the test doesn't edit /etc/default/grub but the OVAL requires that the setting is present in /etc/default/grub.

This commit removes static test scenarios from rule
`grub2_audit_backlog_limit_argument` because this rule is templated and
the functionality is already tested by templated test scenarios.
Moreover, the static test scenarios are incomplete. For example:
`correct_grubenv.pass.sh` currently fails because the test doesn't edit
`/etc/default/grub` but the OVAL requires that the setting is present in
`/etc/default/grub`.
@jan-cerny jan-cerny added this to the 0.1.77 milestone May 12, 2025
Copy link
codeclimate bot commented May 12, 2025

Code Climate has analyzed commit d23c389 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 61.9% (0.0% change).

View more on Code Climate.

@ggbecker ggbecker self-assigned this May 12, 2025
@ggbecker
Copy link
Member

Removal of tests do not impose any risk of running undesired code. Bypassing the merge rights.

@ggbecker ggbecker merged commit 1e02426 into ComplianceAsCode:master May 12, 2025
109 of 110 checks passed
@Mab879 Mab879 added the Test Suite Update in Test Suite. label Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test Suite Update in Test Suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0