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

23 lines
294 B
Text

# taken from codn54.sd
#=DESCRIPTION conditional within hat scope
#=EXRESULT PASS
$FOO=true
/bin/true {
^TRUE {
if $FOO {
/bin/true rix,
} else {
/bin/false rix,
}
}
^FALSE {
if not $FOO {
/bin/true rix,
} else {
/bin/false rix,
}
}
}