selftests/bpf: livepatch_trampoline: skip when prerequisites are missing#11294
Closed
kernel-patches-daemon-bpf[bot] wants to merge 1 commit intobpf-next_basefrom
Closed
selftests/bpf: livepatch_trampoline: skip when prerequisites are missing#11294kernel-patches-daemon-bpf[bot] wants to merge 1 commit intobpf-next_basefrom
kernel-patches-daemon-bpf[bot] wants to merge 1 commit intobpf-next_basefrom
Conversation
Author
|
Upstream branch: 4faa189 |
69a44ca to
f264dc7
Compare
Author
|
Upstream branch: 748f9c6 |
5cf837f to
92c0bc5
Compare
f264dc7 to
59120bd
Compare
Author
|
Upstream branch: 6dd780f |
92c0bc5 to
14199d4
Compare
59120bd to
94aca0b
Compare
Author
|
Upstream branch: 099bded |
livepatch_trampoline relies on livepatch sysfs and livepatch-sample.ko. When CONFIG_LIVEPATCH is disabled or the samples module isn't built, the test fails with ENOENT and causes false failures in minimal CI configs. Skip the test when livepatch sysfs or the sample module is unavailable. Also avoid writing to livepatch sysfs when it's not present. Signed-off-by: Sun Jian <sun.jian.kdev@gmail.com>
14199d4 to
b5f7169
Compare
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.
Pull request for series with
subject: selftests/bpf: livepatch_trampoline: skip when prerequisites are missing
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1061666