MCPcopy Create free account
hub / github.com/containers/common / TestBoundingCapabilities

Function TestBoundingCapabilities

pkg/capabilities/capabilities_test.go:17–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestBoundingCapabilities(t *testing.T) {
18 caps, err := BoundingSet()
19 require.Nil(t, err)
20 assert.True(t, len(caps) > 0)
21}
22
23func TestMergeCapabilitiesDropVerify(t *testing.T) {
24 adds := []string{"CAP_SETUID", "CAP_SYS_ADMIN"}

Callers

nothing calls this directly

Calls 1

BoundingSetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…