On Thu, 22 Sep 2005 11:17:06 +0100, Steve Hay <[EMAIL PROTECTED]> wrote:
> H.Merijn Brand wrote: > >On Thu, 22 Sep 2005 10:45:20 +0100, Nicholas Clark <[EMAIL PROTECTED]> wrote: > >>On Thu, Sep 22, 2005 at 11:43:44AM +0200, H.Merijn Brand wrote: > >>>On Thu, 22 Sep 2005 10:27:30 +0200, "H.Merijn Brand" > >>><[EMAIL PROTECTED]> wrote: > >>> > >>>>make test_harness succeeds, make test fails. > >>>> > >>>>Completely rewritten test attached > >>>> > >>>>1. Move to Test::More and add comments to tests > >>>>2. Split the combined ok ()'s to one is (), and one ok () each > >>>>3. The printing is all done with leading '#' to not confuse TEST > >>>>4. That also makes the returned expected output read better IMHO > >>>> > >>>>Feel free to change again > > > >OK, Inlined and attached with different extention > > > Got it now, but it's still no good for Win32 because of the open(IN, "-|"). I know. Maybe t/op/write.t shows workaround. I don't have time to extent this effort to Win32 right now (and I only have Cygwin) I also didn't know in how much this is a dual-life test file, and Test::More would be accepted. It's just a proof of concept to make both TEST and harness happy. -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using Perl 5.6.2, 5.8.0, 5.8.5, & 5.9.2 on HP-UX 10.20, 11.00 & 11.11, AIX 4.3 & 5.2, SuSE 9.2 & 9.3, and Cygwin. http://www.cmve.net/~merijn Smoking perl: http://www.test-smoke.org, perl QA: http://qa.perl.org reports to: [EMAIL PROTECTED], perl-qa@perl.org