~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/conditional-else-if-8.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 conditional else in invalid locations
2
 
#=EXRESULT FAIL
3
 
 
4
 
$BAR = false
5
 
$FOO=true
6
 
$FALSE = false
7
 
 
8
 
/bin/true {
9
 
    if $FOO {
10
 
      /bin/true rix,
11
 
    } else ^FOO {
12
 
        /bin/false rix,
13
 
    }
14
 
    if $FALSE {
15
 
          /dev/null w,
16
 
    }
17
 
}