mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge branch 'cboltz-ci-check-includes' into 'master'
run "make -C profiles check-abstractions.d" in ci See merge request apparmor/apparmor!449 Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
commit
65bb277d8b
2 changed files with 3 additions and 2 deletions
|
@ -44,6 +44,7 @@ test-all:
|
|||
- make -C utils check PYFLAKES=/usr/bin/pyflakes3 PYTHON_VERSIONS=/usr/bin/python3
|
||||
- make -C changehat/mod_apparmor check
|
||||
- make -C profiles check-parser
|
||||
- make -C profiles check-abstractions.d
|
||||
|
||||
# Disabled due to aa-logprof dependency on /sbin/apparmor_parser existing
|
||||
# - make -C profiles check-profiles
|
||||
|
|
|
@ -117,7 +117,7 @@ check-abstractions.d:
|
|||
@echo "*** Checking if all abstractions (with a few exceptions) contain #include if exists <abstractions/*.d>"
|
||||
$(Q)cd apparmor.d/abstractions && for file in * ; do \
|
||||
test -d "$$file" && continue ; \
|
||||
test "$$file" == 'ubuntu-browsers' && continue ; \
|
||||
test "$$file" == 'ubuntu-helpers' && continue ; \
|
||||
test "$$file" = 'ubuntu-browsers' && continue ; \
|
||||
test "$$file" = 'ubuntu-helpers' && continue ; \
|
||||
grep -q "^ #include if exists <abstractions/$${file}.d>$$" $$file || { echo "$$file does not contain '#include if exists <abstractions/$${file}.d>'"; exit 1; } ; \
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue