Skip Menu |

This queue is for tickets about the System-Command CPAN distribution.

Report information
The Basics
Id: 65512
Status: resolved
Priority: 0/
Queue: System-Command

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc: dolmen [...] cpan.org
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.01
  • 1.07
Fixed in: 1.100



Subject: t\10-command.t hangs on Windows
# Failed test 'perl t\info.pl' # at t\10-command.t line 122. # Structures begin differing at: # $got->{env}{PWD} = 'C:/DOCUME~1/Sasha/LOCALS~1/Temp/wGgzMqZSTy' # $expected->{env}{PWD} = 'C:/strawberry/cpan/build/System-Command-1.01-_TA8fa' nothing is printed after this -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #65512] t\10-command.t hangs on Windows
Date: Tue, 8 Feb 2011 23:48:16 +0100
To: Alexandr Ciornii via RT <bug-System-Command [...] rt.cpan.org>
From: "Philippe Bruhat (BooK)" <book [...] cpan.org>
On Sun, Feb 06, 2011 at 08:13:18PM -0500, Alexandr Ciornii via RT wrote: Show quoted text
> Sun Feb 06 20:13:17 2011: Request 65512 was acted upon. > Transaction: Ticket created by CHORNY > Queue: System-Command > Subject: t\10-command.t hangs on Windows > Broken in: 1.01 > Severity: Important > Owner: Nobody > Requestors: CHORNY@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65512 > > > > # Failed test 'perl t\info.pl' > # at t\10-command.t line 122. > # Structures begin differing at: > # $got->{env}{PWD} = 'C:/DOCUME~1/Sasha/LOCALS~1/Temp/wGgzMqZSTy' > # $expected->{env}{PWD} = > 'C:/strawberry/cpan/build/System-Command-1.01-_TA8fa' > > nothing is printed after this >
Yes. It is a known issue. :-( I have a number of win32- related branches, showing different strategies to make it work under Win32. See github. Basically: - master and win32 hang some tests - win32-ipc-run works, but is slow - win32-socketpair hangs some tests I just realized the BUGS section didn't mention that it didn't yet work under Win32. I'll probably temporarily merge win32-ipc-run, so that it "works". But for modules like Git::Repository (for which System::Command was actually written), the speed cost of using IPC::Run is too high, so I'm looking for a way (involving some Win32:: modules) to make things work at a decent speed under Win32. Help is very welcome. -- Philippe Bruhat (BooK) The best of intentions must still have directions. (Moral from Groo The Wanderer #95 (Epic))
RT-Send-CC: book [...] cpan.org
There are 2 bugs here: - a failing test - a test that hangs We should handle them as two different bugs in RT. Let's keep the hanging here. -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
On Thu Mar 03 10:35:58 2011, DOLMEN wrote: Show quoted text
> There are 2 bugs here: > - a failing test
The failing test is fixed in the win32- branches on github. Show quoted text
> - a test that hangs > We should handle them as two different bugs in RT. > Let's keep the hanging here.
I still haven't found the time to release a 1.02 with the IPC::Run-based code.