#=DESCRIPTION basic conditional statements w/hats
#=EXRESULT PASS

$FOO=true
$BAR = False

/bin/true {
  /bin/false rix,
  capability net_raw,
  if ${FOO} {
    ^hat1 {
      /usr/bin/sendmail rix,
    }
  }
  if not ${FOO} {
    ^hat1 {
      /usr/bin/sendmail rux,
    }
  }
  /bin/true rix,
  /bin/sh rix,
  capability dac_override,
}
