mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
regression tests: Make the xattr_profile.sh depend on outofband transitions
While xattr attachments exist without outofband transitions, they are broken when values contain the null character. The addition of outofband transitions fixes this problem. While we could make the test requirement for outofband transitions specific to a few tests, since the parser currently requires outofband transitions to generate xattr attachment conditionals, for a first pass just make the whole test suite require them. Revisit this when/if the parser will allow xattr attachments without outofband transitions. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
parent
dc2b971a7f
commit
278bd918f9
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ bin=$pwd
|
|||
file="$bin/xattrs_profile"
|
||||
|
||||
requires_kernel_features domain/attach_conditions/xattr
|
||||
|
||||
requires_kernel_features policy/outofband
|
||||
|
||||
# Clean up existing xattrs
|
||||
clean_xattr()
|
||||
|
|
Loading…
Add table
Reference in a new issue