puppetlabs/puppet-acceptance — pull request #223 by joshcooper (2012-05-17 23:19:37+00:00)
Title: (Maint) Always use POSIX-style paths for PATH

Previously, we were setting the PATH environment variable as:

env PATH="C:\foo;$PATH" cmd.exe /c

However, cygwin handles the PATH environment variable differently than
RUBYLIB. It splits the value of PATH on colons, and converts each path
component to Windows style paths. So `C:\foo` becomes `C;C:\foo`

This commit changes the test harness to generate commands of the form:

env PATH="/opt/hiera/bin:$PATH" cmd.exe /c

Which becomes `C:\cygwin\opt\hiera\bin;%PATH%`