summaryrefslogtreecommitdiffstats
path: root/spec/unit/sslcertificates
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-08-16 12:40:06 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-08-19 13:52:59 -0700
commit2681ca5360428db071aaa66614c21f6be581c1cc (patch)
treed303dca23c628e35162e0a8143de1445d1b601b3 /spec/unit/sslcertificates
parent3812fc35eae962938041256f8974bc94f41a3326 (diff)
downloadpuppet-2681ca5360428db071aaa66614c21f6be581c1cc.tar.gz
puppet-2681ca5360428db071aaa66614c21f6be581c1cc.tar.xz
puppet-2681ca5360428db071aaa66614c21f6be581c1cc.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> (cherry picked from commit e9b558dd35eec6e221aef9de3f300a5843347454)
Diffstat (limited to 'spec/unit/sslcertificates')
0 files changed, 0 insertions, 0 deletions