From 2f983bc4253bf5ca7ee641c8db9e8ccd96c0401d Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Wed, 2 Jun 2010 11:45:37 -0500 Subject: 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 :( --- tests/sudoers/sudoers-break-test.pp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/sudoers/sudoers-break-test.pp (limited to 'tests/sudoers/sudoers-break-test.pp') 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' +} -- cgit v1.2.3