2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 05:48:18 +00:00

Add regress test for bugzilla 519

This commit is contained in:
Todd C. Miller 2011-10-26 10:20:32 -04:00
parent 300265019f
commit c55b5c9e18
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
stdin: parsed OK

View File

@ -0,0 +1,10 @@
#!/bin/sh
#
# Sudo Bug 519:
# Visudo in strict mode reports "parse error" even if there is no error
#
./visudo -csf - <<EOF
User_Alias FOO = nobody
FOO ALL=(ALL) NOPASSWD: ALL
EOF