#
#=DESCRIPTION Basic test that re local profile names are allowed
#=EXRESULT PASS
# vim:ft=apparmor
# Last Modified: Sun Apr 17 19:44:44 2005
#
/foo//** {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

/foo//* {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

/foo//? {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

/foo//[ab] {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

/foo//[^ab] {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

profile foo//** {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

profile foo//* {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

profile foo//? {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

profile foo//[ab] {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

profile foo//[^ab] {
  #include <includes/base>

  /usr/X11R6/lib/lib*so* rrr,
  /does/not/exist r,
  /var/log/messages www,
  /tmp/sd*.foo rwrwwrll,
  /bin/cat pxpxpxpxpx,
  /bin/ls ixixixix,
  /bin/echo uxuxuxuxux,
}

