Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 4371
Status: resolved
Priority: 0/
Queue: Test-Harness

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

Bug Information
Severity: Unimportant
Broken in: 2.34
Fixed in: (no value)



Subject: breaks on files with spaces in their names
I accidentally ran prove before renaming a "Copy of foo.t" file on a Win32 workstation. prove failed that test, noting 't\util\Copy of test....Can't open perl script "t\util\Copy": No such file or directory' Possibly there's a split on space going on? Spaces in filenames are evil, but they should probably be handled more gracefully.
Date: Wed, 12 Nov 2003 15:51:51 -0600
From: Andy Lester <andy [...] petdance.com>
To: Guest via RT <bug-Test-Harness [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #4371": ;
Subject: Re: [cpan #4371] breaks on files with spaces in their names
RT-Send-Cc:
Show quoted text
> I accidentally ran prove before renaming a "Copy of foo.t" file on a Win32 workstation. prove failed that test, noting 't\util\Copy of test....Can't open perl script "t\util\Copy": No such file or directory'
No, it's an issue with how DOS handles file name splitting. Maybe I'll do something to get things quoted nicely. xoa -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
2.35_01 now quotes the filename being tested. Please let me know how it works for you.
From: rjbs [...] cpan.org
[PETDANCE - Thu Nov 13 00:19:43 2003]: Show quoted text
> 2.35_01 now quotes the filename being tested. Please let me know > how it works for you.
O:\projects\tvland>prove -I lib -r t/core t\core\constructors........ok t\core\the constructors....ok t\core\uniq................ok All tests successful. Files=3, Tests=11, 2 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Confirmed: Insane users are now free to have tests with spacey names.