mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 00:41:03 +01:00

- adds a distinct includes/ subdirectory, populated with a couple of files that test profiles can include. We purposefully choose to use a different directory structure than the shipped profile set so that changes to it will not break our tests. - modifies the existing test profiles to take advantage of the includes/ directory. - modifies tst/Makefile with pushd/popd to get around some pwd limitations in the parser (that need to be fixed).
40 lines
545 B
Text
40 lines
545 B
Text
#
|
|
# $Id$
|
|
#=DESCRIPTION dupe profiles
|
|
#=EXRESULT FAIL
|
|
#
|
|
/does/not/exist1 {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* r,
|
|
/usr/bin/emacs r,
|
|
}
|
|
|
|
/does/not/exist2 {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* r,
|
|
/usr/bin/emacs r,
|
|
}
|
|
|
|
/does/not/exist {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* r,
|
|
/usr/bin/emacs r,
|
|
}
|
|
|
|
/does/not/exist2 {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* r,
|
|
/does/not/exist r,
|
|
}
|
|
|
|
/does/not/exist3 {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* r,
|
|
/usr/bin/emacs r,
|
|
}
|
|
|