develooper Front page | perl.perl5.porters | Postings from October 2001

Re: [PATCH bleadperl] why some tests fail on Win95...

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
October 8, 2001 07:27
Subject:
Re: [PATCH bleadperl] why some tests fail on Win95...
Message ID:
20011008172740.K8288@alpha.hut.fi
On Sun, Sep 30, 2001 at 09:15:13PM +0200, Nikola Knezevic wrote:
> It was strange to me why some tests kept failing under Win95, altough
> they seemed fine. At last, I found the reason.
> 
> lib\Net\hostent.t and lib\Net\t\hostname.t were failing due to
> lack of %windir%\hosts file, and that should be reported somehow.
> On Win95 I don't have hosts, but hosts.sam. Don't ask my why, I
> don't know, nor I don't have MSDN disks right now to find out something
> about it...
> Maybe the right solution for gethostent would be to check both for hosts
> and hosts.sam (on Win95).

Patches welcome.

> ...
> Makefile was OK, so just by pure luck I found the solution. I don't know
> why it works, nor why it failed in the first place, but it works.
> After applying the following patch all problems disappeared
> (at least with 'FILE', ;).
> As you may notice, I just changed quote from ' to " and removed empty
> space around =>. This implies that the problem is in command line interpreter
> (I don't know how), because when I've typed problematic line manually,
> there were no 'ExtTest', file...

Thanks, applied.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About