Add a sceneo UT test to TestMustRunAsOptions

This commit is contained in:
jianglingxia 2018-03-24 12:54:42 +08:00
parent 915798d229
commit 25052c591a

View File

@ -29,6 +29,10 @@ func TestMustRunAsOptions(t *testing.T) {
opts *extensions.SELinuxStrategyOptions
pass bool
}{
"nil opts": {
opts: nil,
pass: false,
},
"invalid opts": {
opts: &extensions.SELinuxStrategyOptions{},
pass: false,