mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
parser: equality tests: convert xequality tests to equality
With the file priority fix the xequality (expected equal but known
failure) tests are now passing. So convert them to regular equality
tests.
Signed-off-by: John Johansen <john.johansen@canonical.com>
(cherry picked from commit fcee32a37e
)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -904,11 +904,11 @@ fi
|
||||
|
||||
# Not grouping all three together because parser correctly handles
|
||||
# the equivalence of carveout regex and default audit deny
|
||||
verify_binary_xequality "file rule carveout regex vs priority (audit)" \
|
||||
verify_binary_equality "file rule carveout regex vs priority (audit)" \
|
||||
"/t { audit deny /[^a]* rwxlk, /a r, }" \
|
||||
"/t { priority=-1 audit deny /* rwxlk, /a r, }" \
|
||||
|
||||
verify_binary_xequality "file rule default audit deny vs audit priority carveout" \
|
||||
verify_binary_equality "file rule default audit deny vs audit priority carveout" \
|
||||
"/t { /a r, }" \
|
||||
"/t { priority=-1 audit deny /* rwxlk, /a r, }" \
|
||||
|
||||
|
Reference in New Issue
Block a user