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

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/conditional/bad_else_2.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
# taken from cond59.sd
 
2
#=DESCRIPTION improper nesting of hat and conditional
 
3
#=EXRESULT FAIL
 
4
 
 
5
$FOO=true
 
6
 
 
7
#indentation screwy to try to show crossing levels
 
8
/bin/true {
 
9
  /bin/true rix,
 
10
  if $FOO {
 
11
    ^HATNAME
 
12
  } #endif
 
13
    {
 
14
      /bin/false rix,
 
15
  if $FOO {
 
16
    } #endhat
 
17
  } #endif
 
18
}