Skip to content

[help wanted] add unit-test for getSELinuxSecurityOpts #1912

@starnop

Description

@starnop

Ⅰ. Issue Description

Add unit-test for getSELinuxSecurityOpts method which locate on cri/v1alpha1/cri_utils.go.

You can take env_test.go for reference.

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions