mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Add a testcase for the issue fixed in commit 2059.
Signed-off-by: Steve Beattie <sbeattie@ubuntu.com> Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
e0c94c9039
commit
ecd14e46b9
1 changed files with 39 additions and 0 deletions
39
parser/tst/simple_tests/xtrans/x-conflict2.sd
Normal file
39
parser/tst/simple_tests/xtrans/x-conflict2.sd
Normal 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 {
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue