On Wed 02 Oct 2002 21:38, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 02, 2002 at 02:14:35PM +0200, H.Merijn Brand wrote:
> > As a side note, can you have another look at the cygwin smoke failures for
> >
> > lib/Test/Harness/t/strap-analyze.....FAILED at test 2
> > lib/warnings.........................FAILED at test 410
> >
> > which is a line-ending mismatch in taint mode.
> > Currently cygwin has other tests failing, but above two have appeared
> > somewhere else too, but I can't remember where.
>
> Those have been appearing and reappearing for months now. I have no idea
> what's causing them, but it's not a bug in those modules, they just happen
> to be exercising the bug. I don't know if the strings actually have the
> wrong line-ending style on them or if the $ regex is mismatching. Beyond
> that, I don't know how to diagnose it.
A new (temporary/local) flag that will
s/[\r\n]+/\n/g
on both strings before comparing?
I agree that this is not a good /solution/, but we know that these tests will
pass in normal conditions, and if we do nothing about it, we will never get
any 'O's from smoke on cygwin again.
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: [EMAIL PROTECTED]
http:[EMAIL PROTECTED]/ [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org