~ubuntu-branches/ubuntu/raring/apparmor/raring

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-03-23 16:42:01 UTC
  • Revision ID: james.westby@ubuntu.com-20070323164201-jkax6f0oku087b7l
Tags: upstream-2.0.1+510.dfsg
ImportĀ upstreamĀ versionĀ 2.0.1+510.dfsg

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
${BAR} = true
 
6
 
 
7
/bin/true {
 
8
 
 
9
 
 
10
  if ${BAR} {
 
11
    ^dupehat {
 
12
      /bin/false rix,
 
13
    }
 
14
  }
 
15
 
 
16
  if ${FOO} {
 
17
    ^dupehat {
 
18
      capability dac_override,
 
19
    }
 
20
  }
 
21
}