#
#=DESCRIPTION Tests to verify multiple profiles can have the same hatname
#=EXRESULT PASS
# vim:ft=apparmor
# Last Modified: Sun Apr 17 19:44:44 2005
#
/HAT1 {
  #include <includes/base>
  /usr/X11R6/lib/lib*so* r,
  /usr/bin/emacs r,
}

/HAT2 {
  #include <includes/base>
  /usr/X11R6/lib/lib*so* r,
  /usr/bin/emacs r,
}

/HAT3 {
  #include <includes/base>
  /usr/X11R6/lib/lib*so* r,
  /usr/bin/emacs r,
}

/does/not/exist1 {
  #include <includes/base>

# hat 1
  ^/HAT1 {
    /var/log/HAT1 rwl,
  }

# hat 2
  ^/HAT2 {
    /var/log/HAT2 rwl,
  }
}

/does/not/exist2 {
  #include <includes/base>

# hat 1
  ^/HAT1 {
    /var/log/HAT1 rwl,
  }

# hat 2
  ^/HAT2 {
    /var/log/HAT2 rwl,
  }
}

/does/not/exist3 {
  #include <includes/base>

# hat 1
  ^/HAT1 {
    /var/log/HAT1 rwl,
  }

# hat 2
  ^/HAT3 {
    /var/log/HAT2 rwl,
  }
}

