An empty group or netgroup should be a syntax error.
This commit is contained in:
7
plugins/sudoers/regress/sudoers/test7.in
Normal file
7
plugins/sudoers/regress/sudoers/test7.in
Normal file
@@ -0,0 +1,7 @@
|
||||
# These should all be syntax errors
|
||||
User_Alias FOO1 = "%"
|
||||
User_Alias FOO2 = "%:"
|
||||
User_Alias FOO3 = "+"
|
||||
User_Alias FOO4 = %
|
||||
User_Alias FOO5 = %:
|
||||
User_Alias FOO6 = +
|
4
plugins/sudoers/regress/sudoers/test7.out.ok
Normal file
4
plugins/sudoers/regress/sudoers/test7.out.ok
Normal file
@@ -0,0 +1,4 @@
|
||||
Does not parse.
|
||||
|
||||
|
||||
|
7
plugins/sudoers/regress/sudoers/test7.toke.ok
Normal file
7
plugins/sudoers/regress/sudoers/test7.toke.ok
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*>
|
||||
USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*>
|
||||
USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*>
|
||||
USERALIAS ALIAS = ERROR <*>
|
||||
USERALIAS ALIAS = ERROR <*>
|
||||
USERALIAS ALIAS = ERROR <*>
|
Reference in New Issue
Block a user