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:
John Johansen 2020-05-03 16:40:38 -07:00
parent dc2b971a7f
commit 278bd918f9

View file

@ -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()