summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/sudoers/test29.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/regress/sudoers/test29.in')
-rw-r--r--plugins/sudoers/regress/sudoers/test29.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/sudoers/regress/sudoers/test29.in b/plugins/sudoers/regress/sudoers/test29.in
new file mode 100644
index 0000000..34092cd
--- /dev/null
+++ b/plugins/sudoers/regress/sudoers/test29.in
@@ -0,0 +1,11 @@
+# Test lexer regex syntax errors
+# We don't test regcomp() errors since regerror() strings are not
+# standardized.
+
+user ALL = /bin/ls ^/etc/(hosts|motd|issue
+
+user ALL = ^/bin/ls
+
+user ALL = ^/bin/ls$ ^error
+
+user ALL = ^/bin/ls$ ^error # comment