Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/integration/compose_feature_security_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func TestComposeSource_FeatureSecurityOptionsApplied(t *testing.T) {
if !details.Privileged {
t.Error("container is not privileged; feature privileged:true was not applied to the compose service")
}
// Docker/podman normalize capability names to the CAP_-prefixed
// Docker normalizes capability names to the CAP_-prefixed
// form in inspect output (SYS_ADMIN -> CAP_SYS_ADMIN), so compare
// with the prefix stripped.
if !hasCapability(details.CapAdd, "SYS_ADMIN") {
Expand Down