Skip to content
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

More cmdline test #254

Closed
wants to merge 4 commits into from
Closed

More cmdline test #254

wants to merge 4 commits into from

Conversation

lucasdemarchi
Copy link
Contributor

A question was raised today and I didn't know the answer from top of my head or looking at the documentation. Make sure this doesn't change, even if unlikely, as users rely on this behavior. While at it, cleanup.

Copy link
Collaborator

@evelikov evelikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More tests - yes please.

testsuite/test-modprobe.c Show resolved Hide resolved
module-param-kcmdline7 was incorrectly copied inside
module-param-kcmdline{7,8}. Drop the extra dir that is not used
anywhere.

Fixes: d3a1fe6 ("libkmod-config: re-quote option from kernel cmdline")
Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Link: #254
Make sure this (undocumented) behavior doesn't change in future.
Multiple blacklist append to the config.

Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Link: #254
Simplify tests that just dump the configuration: no need to check that
no module was loaded.

Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Link: #254
Remove /proc/modules and /sys/module/* from the show-depends rootfs
since they shouldn't be there and add a test to make sure no module is
loaded.

Signed-off-by: Lucas De Marchi <[email protected]>
testsuite/test-modprobe.c Show resolved Hide resolved
lucasdemarchi added a commit that referenced this pull request Nov 29, 2024
module-param-kcmdline7 was incorrectly copied inside
module-param-kcmdline{7,8}. Drop the extra dir that is not used
anywhere.

Fixes: d3a1fe6 ("libkmod-config: re-quote option from kernel cmdline")
Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Link: #254
lucasdemarchi added a commit that referenced this pull request Nov 29, 2024
Make sure this (undocumented) behavior doesn't change in future.
Multiple blacklist append to the config.

Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Link: #254
lucasdemarchi added a commit that referenced this pull request Nov 29, 2024
Simplify tests that just dump the configuration: no need to check that
no module was loaded.

Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Link: #254
lucasdemarchi added a commit that referenced this pull request Nov 29, 2024
Remove /proc/modules and /sys/module/* from the show-depends rootfs
since they shouldn't be there and add a test to make sure no module is
loaded.

Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Link: #254
@lucasdemarchi
Copy link
Contributor Author

Applied, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants