mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 01:26:28 +00:00
Add a sceneo UT test to TestMustRunAsOptions
This commit is contained in:
parent
915798d229
commit
25052c591a
@ -29,6 +29,10 @@ func TestMustRunAsOptions(t *testing.T) {
|
|||||||
opts *extensions.SELinuxStrategyOptions
|
opts *extensions.SELinuxStrategyOptions
|
||||||
pass bool
|
pass bool
|
||||||
}{
|
}{
|
||||||
|
"nil opts": {
|
||||||
|
opts: nil,
|
||||||
|
pass: false,
|
||||||
|
},
|
||||||
"invalid opts": {
|
"invalid opts": {
|
||||||
opts: &extensions.SELinuxStrategyOptions{},
|
opts: &extensions.SELinuxStrategyOptions{},
|
||||||
pass: false,
|
pass: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user