2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

Add a parser testcase that triggered the match flags state issue that

was addressed (however temporarily) in commit 2085.

Signed-off-by: Steve Beattie <sbeattie@ubuntu.com>
Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Steve Beattie
2012-12-10 17:10:40 -08:00
parent 66717a2aec
commit 039e8d285b

View File

@@ -0,0 +1,39 @@
#
#=DESCRIPTION test for reused flag state
#=EXRESULT PASS
#
/usr/bin/parent-profile {
/usr/bin/profile1 Cx -> profile1,
/usr/bin/profile2 Cx -> profile2,
/usr/bin/profile3 Cx -> profile3,
/usr/bin/profile4 Cx -> profile4,
/usr/bin/profile5 Cx -> profile5,
/usr/bin/profile6 Cx -> profile6,
profile profile1 {
}
profile profile2 {
}
profile profile3 {
}
profile profile4 {
/usr/bin/apt-get Ux,
/usr/bin/dpkg Ux,
}
profile profile5 {
}
profile profile6 {
}
}