- Add AF_ISDN to filtered list of AF tags

- Restructure filter sed script to be shorter
- Add a make check target which is equiv to make tests
This commit is contained in:
Steve Beattie 2008-11-14 16:25:44 +00:00
parent 6b793b1a8b
commit cc923edf3c
2 changed files with 21 additions and 8 deletions

View file

@ -193,7 +193,7 @@ struct codomain *do_local_profile(struct codomain *cod, char *name, int mode, in
%%
list: aliaslist varlist profilelist
list: preamble profilelist
{ /* nothing */ };
profilelist: { /* nothing */ };
@ -260,8 +260,9 @@ profile: opt_profile_flag TOK_COLON TOK_ID TOK_COLON TOK_ID flags TOK_OPEN rules
$$ = cod;
};
aliaslist: { /* nothing */ }
| aliaslist alias { /* nothing */ };
preamble: { /* nothing */ }
| preamble alias { /* nothing */ };
| preamble varassign { /* nothing */ };
alias: TOK_ALIAS TOK_ID TOK_ARROW TOK_ID TOK_END_OF_RULE
{
@ -271,11 +272,6 @@ alias: TOK_ALIAS TOK_ID TOK_ARROW TOK_ID TOK_END_OF_RULE
free($4);
};
varlist: { /* nothing */ }
varlist: varlist varassign
{ /* nothing */ }
varassign: TOK_SET_VAR TOK_EQUALS valuelist
{
struct value_list *list = $3;

View file

@ -0,0 +1,17 @@
#=DESCRIPTION Simple test of alias functionality after var defn
#=EXRESULT PASS
alias /etc -> /Etcetera,
@{FOO}= foo bar
alias /tmp -> /var/tmp,
@{MEEP} = meep moop
alias /usr -> /User,
/bin/foo {
#include <includes/base>
/tmp/@{FOO}/@{MEEP} rw,
}