Skip to content

test: check the userns value when it is present - #194

Merged
HaoZeke merged 1 commit into
developfrom
fix/userns-golden-types
Nov 27, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/userns-golden-types

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

test: check the userns value when it is present

When the kernel publishes kernel.unprivileged_userns_clone, the
probe value is an int and the text line is printed. When that
setting is absent, the value is null and the line is omitted.
The golden now accepts only those two pairs. It rejects a string
value, and it rejects an int printed without its text line.

When the kernel publishes `kernel.unprivileged_userns_clone`, the
probe value is an `int` and the text line is printed. When that
setting is absent, the value is `null` and the line is omitted.
The golden now accepts only those two pairs. It rejects a string
value, and it rejects an `int` printed without its text line.
@HaoZeke
HaoZeke merged commit ee5d055 into develop Nov 27, 2026
25 checks passed
@HaoZeke
HaoZeke deleted the fix/userns-golden-types branch November 27, 2026 03:57
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.

1 participant