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

alias rules and variable declarations within the preamble of a profile. This commit adds another testcase for alias rules; one in which there is an overlapping pair of aliases. The parser parses it, but based on -dd output, I don't believe it's treating it properly.
14 lines
273 B
Text
14 lines
273 B
Text
#=DESCRIPTION Simple test of alias functionality
|
|
#=EXRESULT PASS
|
|
|
|
@{MEEP} = meep moop
|
|
alias /etc -> /Etcetera,
|
|
alias /tmp -> /var/tmp,
|
|
alias /usr/lib/ -> /Libraries/,
|
|
alias /usr -> /User,
|
|
@{FOO} = foo bar
|
|
|
|
/bin/foo {
|
|
#include <includes/base>
|
|
/tmp/@{FOO}/@{MEEP} rw,
|
|
}
|