Skip to content

Commit

Permalink
Merge pull request #49105 from thaJeztah/27.x_backport_testing-suse-a…
Browse files Browse the repository at this point in the history
…pparmor

[27.x backport] integration-cli: don't skip AppArmor tests on SLES
  • Loading branch information
thaJeztah authored Dec 16, 2024
2 parents 2a62319 + 6855ca1 commit 135b144
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions integration-cli/requirements_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ func Network() bool {
}

func Apparmor() bool {
if strings.HasPrefix(testEnv.DaemonInfo.OperatingSystem, "SUSE Linux Enterprise Server ") {
return false
}
buf, err := os.ReadFile("/sys/module/apparmor/parameters/enabled")
return err == nil && len(buf) > 1 && buf[0] == 'Y'
}
Expand Down

0 comments on commit 135b144

Please sign in to comment.