[apparmor] [patch 24/24] Update the regression tests for v6 policy
John Johansen
john.johansen at canonical.com
Tue Mar 11 07:29:50 UTC 2014
On 03/10/2014 11:53 PM, Steve Beattie wrote:
> On Fri, Mar 07, 2014 at 09:31:45AM -0800, john.johansen at canonical.com wrote:
>> Sorry this mashes several things together that should be separate
>> patches, but I am not going to spend the time to pull them apart
>> atm.
>>
>> This updates the regression tests for v6 policy. It refactors the
>> required_features test into a have_features fn, and a new
>> requires_features fn (renamed to catch all instances make sure they
>> where right)
>>
>> The have_features fn is then applied to several test to make them
>> conditionally apply based off of availability of the feature
>> and policy version.
>>
>> Also add some new tests for ptrace and mount based on their features
>> being present.
>>
>> Signed-off-by: John Johansen <john.johansen at canonical.com>
>
> I think you may have gotten quilted here again, as ptrace.sh adds
> references to ptrace_v5.inc and ptrace_v6.inc, but they aren't included
> in the patch set:
>
sorry, the patch with the missing files
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.diff
Type: text/x-patch
Size: 55640 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140311/02e0b3cd/attachment-0001.bin>
More information about the AppArmor
mailing list