Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 46672
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: emike [...] bigfoot.com
Cc:
AdminCc:

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



Subject: many tests fail when installing Mail::Box on Vista/Cygwin
Date: Thu, 04 Jun 2009 13:38:54 -0700
To: bug-Mail-Box [...] rt.cpan.org
From: Mike Ekberg <emike1955 [...] gmail.com>
Many tests fail when installing Mail::Box on Vista/Cygwin. The log is attached. Mike Ekberg

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #46672] many tests fail when installing Mail::Box on Vista/Cygwin
Date: Thu, 4 Jun 2009 22:44:48 +0200
To: "emike [...] bigfoot.com via RT" <bug-Mail-Box [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* emike@bigfoot.com via RT (bug-Mail-Box@rt.cpan.org) [090604 20:39]: Show quoted text
> Thu Jun 04 16:39:09 2009: Request 46672 was acted upon. > Transaction: Ticket created by emike@bigfoot.com > Queue: Mail-Box > Subject: many tests fail when installing Mail::Box on Vista/Cygwin > Requestors: emike@bigfoot.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=46672 > > > Many tests fail when installing Mail::Box on Vista/Cygwin. The log is > attached.
I know. They have mainly to do with cr/lf counting problems. It is also clearly stated somewhere -I cannot remember where ;-b I never use Windows. Windows users before you did report it, but they never came-up with good patches to fix the tests the right way. (Disabling them is not an acceptable option) -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
CC: emike [...] bigfoot.com
Subject: Re: [rt.cpan.org #46672] many tests fail when installing Mail::Box on Vista/Cygwin
Date: Fri, 05 Jun 2009 14:53:01 -0700
To: bug-Mail-Box [...] rt.cpan.org
From: Mike Ekberg <emike1955 [...] gmail.com>
I don't really know how the tests work, but couldn't you run the results thru dos2unix, or s\015?\012/\n/ before testing? This shouldn't effect Linux behavior, but may allow Windows to work. Cygwin allows the selection of either Dos or Linux style line ending, so it may be tricky to detect which way to go. Perhaps better is to always assume Dos, and convert to Linux. I don't think this breaks Linux line ending. It may be a problem if you have any embedded Dos message in your test case, then that would be converted. That seems a remote chance, and could be hacked when detected. mike Mark Overmeer via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=46672 > > > * emike@bigfoot.com via RT (bug-Mail-Box@rt.cpan.org) [090604 20:39]: >
>> Thu Jun 04 16:39:09 2009: Request 46672 was acted upon. >> Transaction: Ticket created by emike@bigfoot.com >> Queue: Mail-Box >> Subject: many tests fail when installing Mail::Box on Vista/Cygwin >> Requestors: emike@bigfoot.com >> Status: new >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=46672 > >> >> Many tests fail when installing Mail::Box on Vista/Cygwin. The log is >> attached. >>
> > I know. They have mainly to do with cr/lf counting problems. It is > also clearly stated somewhere -I cannot remember where ;-b > > I never use Windows. Windows users before you did report it, but > they never came-up with good patches to fix the tests the right way. > (Disabling them is not an acceptable option) >
Subject: Re: [rt.cpan.org #46672] many tests fail when installing Mail::Box on Vista/Cygwin
Date: Sun, 14 Jun 2009 21:27:39 +0200
To: "emike [...] bigfoot.com via RT" <bug-Mail-Box [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* emike@bigfoot.com via RT (bug-Mail-Box@rt.cpan.org) [090605 21:53]: Show quoted text
> Queue: Mail-Box > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=46672 > > > I don't really know how the tests work, but couldn't you run the results > thru dos2unix, or s\015?\012/\n/ before testing? > This shouldn't effect Linux behavior, but may allow Windows to work.
That is too simple. One of the complications is that UNIX needs to translate to crlf on some spots... and we would like to test that. There are a few minor other problems. For instance, under Windows you cannot move a file which is locked. This means that you cannot protect a folder during its rename. Those tests fail as well. But in general, MailBox works on Windows with and without Cygwin. -- MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
tests pass since 2.115, thanks to Marcus Spann