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:
parent
300265019f
commit
c55b5c9e18
1
plugins/sudoers/regress/visudo/test1.out.ok
Normal file
1
plugins/sudoers/regress/visudo/test1.out.ok
Normal file
@ -0,0 +1 @@
|
||||
stdin: parsed OK
|
10
plugins/sudoers/regress/visudo/test1.sh
Executable file
10
plugins/sudoers/regress/visudo/test1.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user