apparmor/parser/tst/simple_tests/conditional/else_2.sd
2009-07-23 07:42:57 +00:00

26 lines
332 B
Text

# taken from cond52.sd
#=DESCRIPTION hat defined in if and else clauses
#=EXRESULT PASS
$FOO=true
/bin/true {
if $FOO {
^TRUE {
/bin/true rix,
}
} else {
^TRUE {
/bin/false rix,
}
}
if not $FOO {
^FALSE {
/bin/true rix,
}
} else {
^FALSE {
/bin/false rix,
}
}
}