Skip to content

Commit 135b144

Browse files
authored
Merge pull request #49105 from thaJeztah/27.x_backport_testing-suse-apparmor
[27.x backport] integration-cli: don't skip AppArmor tests on SLES
2 parents 2a62319 + 6855ca1 commit 135b144

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

integration-cli/requirements_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ func Network() bool {
7979
}
8080

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

0 commit comments

Comments
 (0)