sudo/plugins/sudoers/regress/visudo/test5.sh

11 lines
146 B
Bash
Executable File

#!/bin/sh
#
# Test comment on the last line with no newline
#
: ${VISUDO=visudo}
printf "# one comment\n#two comments" | $VISUDO -csf -
exit 0