Imported Upstream version 1.8.7
[debian/sudo] / plugins / sudoers / regress / visudo / test1.sh
1 #!/bin/sh
2 #
3 # Sudo Bug 519:
4 # Visudo in strict mode reports "parse error" even if there is no error
5 #
6
7 ./visudo -csf - <<EOF
8 User_Alias FOO = nobody
9 FOO ALL=(ALL) NOPASSWD: ALL
10 EOF
11
12 exit 0