diff options
Diffstat (limited to '')
-rwxr-xr-x | plugins/sudoers/regress/visudo/test5.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/sudoers/regress/visudo/test5.sh b/plugins/sudoers/regress/visudo/test5.sh new file mode 100755 index 0000000..29364ea --- /dev/null +++ b/plugins/sudoers/regress/visudo/test5.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Test comment on the last line with no newline +# + +printf "# one comment\n#two comments" | ./visudo -csf - + +exit 0 |