diff options
author | Dan Bode <dan@bodepd.com> | 2010-06-02 11:45:37 -0500 |
---|---|---|
committer | Dan Bode <dan@bodepd.com> | 2010-06-02 11:45:37 -0500 |
commit | 2f983bc4253bf5ca7ee641c8db9e8ccd96c0401d (patch) | |
tree | 918f2948c98b4fc4f84f4d2f9a42dadb3d717a5f /tests/sudoers/sudoers-break-test.pp | |
parent | 37099d6d140f073522f9f9b37ba2a9b429433f25 (diff) |
Committing all of the tests that I ran to validate the behavior of the sudoers type. I understand they are not proper unit tests. sorry :(
Diffstat (limited to 'tests/sudoers/sudoers-break-test.pp')
-rw-r--r-- | tests/sudoers/sudoers-break-test.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sudoers/sudoers-break-test.pp b/tests/sudoers/sudoers-break-test.pp new file mode 100644 index 0000000..2351e96 --- /dev/null +++ b/tests/sudoers/sudoers-break-test.pp @@ -0,0 +1,7 @@ +# invalid line should break and not be written to /etc/sudoers +Sudoers{type => 'alias'} +sudoers{'blah4': + sudo_alias => 'Runas_Alias', + items => 'root', + commands => '/bin/true' +} |