SELinuxProject / selint

Static code analysis of refpolicy style SELinux policy
Apache License 2.0
38 stars 17 forks source link

tests: drop trailing white spaces #284

Closed cgzones closed 6 months ago

cgzones commented 6 months ago

Commit 6ff3d004 ("Add check for fcontext lines containing only spaces") added support for trailing white spaces in file context files together with some unit tests. These unit tests contain such trailing white spaces, which break the current CI due to the white space check via git diff-tree --check.

Drop the trailing spaces (together with the corresponding test code) to please the CI, hoping regressions will not happen.

dburgener commented 6 months ago

I'm not really a fan of making changes that actually hurt just to please broken CI.

What about #285 as an alternative?