~ubuntu-branches/ubuntu/oneiric/apparmor/oneiric-security

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/conditional_bad_dupe_hats_1.sd

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#=DESCRIPTION duplicated hats inside a conditional
2
 
#=EXRESULT FAIL
3
 
 
4
 
${FOO} = true
5
 
 
6
 
/bin/true {
7
 
 
8
 
  ^dupehat {
9
 
    /bin/false rix,
10
 
  }
11
 
 
12
 
  if ${FOO} {
13
 
    ^dupehat {
14
 
      capability dac_override,
15
 
    }
16
 
  }
17
 
}