summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/visudo/test5.sh
blob: c870df957ad417a9dc731e8a795b087bac9ee2c2 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# Test comment on the last line with no newline
#

: ${VISUDO=visudo}

printf "# one comment\n#two comments" | $VISUDO -csf -

exit 0