summaryrefslogtreecommitdiffstats
path: root/examples/code/snippets
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-08-16 12:40:06 -0700
committerNick Lewis <nick@puppetlabs.com>2011-08-16 12:45:20 -0700
commite9b558dd35eec6e221aef9de3f300a5843347454 (patch)
treeb367cbd663dafefb35ff97ae9379ee1ed39b92a0 /examples/code/snippets
parentb28bcb031346cfd2026361ec5ffb420c1dcf60d7 (diff)
downloadpuppet-e9b558dd35eec6e221aef9de3f300a5843347454.tar.gz
puppet-e9b558dd35eec6e221aef9de3f300a5843347454.tar.xz
puppet-e9b558dd35eec6e221aef9de3f300a5843347454.zip
Fix posix exec provider spec failures on Windows
These specs were assuming that paths such as /foo were always absolute, which is not the case on Windows. Thus, when run on Windows, the provider was complaining about receiving relative paths when it expected absolute, rather than succeeding or failing in the intended way. Now we expand all paths we want to be absolute, to guarantee they will be absolute everywhere. Also, some specs were failing because they were trying to test the case where a file isn't executable. That's not something we can reliably check on Windows, so instead just stub the appropriate executable? methods. Reviewed-By: Matt Robinson <matt@puppetlabs.com>
Diffstat (limited to 'examples/code/snippets')
0 files changed, 0 insertions, 0 deletions