-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Running strawberry perl 5.20.2 on windows tests fail. The cause appears to be {env}{PATH} having info appended to the end, so it doesn't match. In the following test (1 of 7 failing) we see that a difference of ';.;;.;' vs ';.;;.;;.;'
# Failed test 'perl t\info.pl'
# at t/10-command.t line 159.
# Structures begin differing at:
# $got->{env}{PATH} = 'C:\Users\Nick\Documents\GitHub\rakudobrew\bin;C:
\Users\Nick\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37
326ad\cmd;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Sys
tem32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Services\IPT\;C:\Prog
ram Files (x86)\Skype\Phone\;C:\Program Files (x86)\Windows Kits\8.1\Windows Per
formance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Progr
am Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Strawberry\c\bin;C:\Strawberry\
perl\site\bin;C:\Strawberry\perl\bin;.;;.;;.;'
# $expected->{env}{PATH} = 'C:\Users\Nick\Documents\GitHub\rakudobrew\bin;C:
\Users\Nick\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37
326ad\cmd;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Sys
tem32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Services\IPT\;C:\Prog
ram Files (x86)\Skype\Phone\;C:\Program Files (x86)\Windows Kits\8.1\Windows Per
formance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Progr
am Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Strawberry\c\bin;C:\Strawberry\
perl\site\bin;C:\Strawberry\perl\bin;.;;.;'
Below is the output of %ENV, which shows that both results above may be considered incorrect, as here the end substring is: ';.;' So we can deduce that at some step of System::Command that ';.;' gets added to {env}{PATH}
# perl -MData::Dumper -e 'print Dumper(%ENV)'
$VAR35 = 'PATH';
$VAR36 = 'C:\\Users\\Nick\\Documents\\GitHub\\rakudobrew\\bin;C:\\Users\\Nick\\A
ppData\\Local\\GitHub\\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\\cmd
;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\Syst
em32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Intel\\Services\\IPT\\;
C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files (x86)\\Windows Kits\\8
.1\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\
Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Str
awberry\\c\\bin;C:\\Strawberry\\perl\\site\\bin;C:\\Strawberry\\perl\\bin;.;';
Metadata
Metadata
Assignees
Labels
No labels