summaryrefslogtreecommitdiffstats
path: root/spec/unit/provider/exec
Commit message (Collapse)AuthorAgeFilesLines
* maint: just require 'spec_helper', thanks rspec2Daniel Pittman2011-04-082-2/+2
| | | | | | | | | | | rspec2 automatically sets a bunch of load-path stuff we were by hand, so we can just stop. As a side-effect we can now avoid a whole pile of stupid things to try and include the spec_helper.rb file... ...and then we can stop protecting spec_helper from evaluating twice, since we now require it with a consistent name. Yay. Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
* (#4884) Modify tests to pass on non-OS X systemsMax Martin2011-03-181-1/+1
| | | | | | | | | Fixed problems with the spec tests for the new exec type and providers that were causing failures on non-OS X systems. This involved rearranging some of the tests and their describe blocks, which makes the diff look more dramatic than it really is. Paired-with:Matt Robinson, Jacob Helwig
* (#4884) Revise new exec tests, add a few moreMax Martin2011-03-172-10/+21
| | | | | | | | Revised a few of the new tests for the exec type and provider to ensure that they were testing what they meant to, and added in a couple of new tests. Reviewed-by:Daniel Pittman
* (#4884) Add an shell provider for execsMatt Robinson2011-03-151-0/+44
| | | | | | | This makes it possible to use shell builtins when the exec is inline bash commands. Paired-with: Max Martin
* (#4884) Break the exec type out to have a posix providerDaniel Pittman2011-03-151-0/+115
This is in preparation for allowing other new providers to handle exec commands differently. Reviewed-by: Max Martin and Matt Robinson