Hm,
It would seem that inet_aton('') on cygwin does not return an error
Graham.
On Fri, Nov 02, 2001 at 09:53:49PM +0100, Gerrit Haase wrote:
> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible. See
> http://testers.cpan.org/
>
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplicate effort.
>
> --
>
> some tests fail:
>
> $ make test
> PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib
>-I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness
>qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/config............Got: '0'
> Expected: '-1'
> main t/config.t 24
> t/config............FAILED test 4
> Failed 1/10 tests, 90.00% okay
> t/ftp...............skipped test on this platform
> t/hostname..........ok
> t/nntp..............ok
> t/require...........ok
> t/smtp..............ok
> Failed Test Status Wstat Total Fail Failed List of Failed
> -----------------------------------------------------------------------
>
> t/config.t 10 1 10.00% 4
> 1 test skipped.
> Failed 1/6 test scripts, 83.33% okay. 1/27 subtests failed, 96.30% okay.
> make: *** [test_dynamic] Error 255
>
> Siebenschlaefer@LORELEY ~/.cpan/build/libnet-1.09
> $ /bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/cygwin-multi
>-I/usr/lib/perl5/5.6.1 t/config.t
> 1..10
> ok 1 # Net::Config should have been used
> ok 2 # snpp_hosts
> ok 3 # requires_firewall() should return 0 without ftp_firewall defined
> not ok 4 # ... should return -1 without a valid hostname
> Got: '0'
> Expected: '-1'
> main t/config.t 24
> ok 5 # ... should return 0 without local_netmask defined
> ok 6 # ... should return false if host is within netmask
> ok 7 # ... should return true if host is outside netmask
> ok 8 # ... should find success with mutiple local netmasks
> ok 9 # ... should handle failure with multiple local netmasks
> ok 10 # is_external() should be an alias for requires_firewall()
>
>
> --
>
> Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
> Platform:
> osname=cygwin, osvers=1.3.2(0.3932), archname=cygwin-multi
> uname='cygwin_nt-4.0 loreley 1.3.2(0.3932) 2001-05-20 23:28 i686 unknown '
> config_args='-de -Dusemultiplicity'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define
> useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> Compiler:
> cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing
>-I/usr/local/include',
> optimize='-O2',
> cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include'
> ccversion='', gccversion='2.95.3-5 (cygwin special)', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
> alignbytes=8, usemymalloc=y, prototype=define
> Linker and Libraries:
> ld='ld2', ldflags =' -s -L/usr/local/lib'
> libpth=/usr/local/lib /usr/lib /lib
> libs=-lgdbm -lcrypt
> perllibs=-lcrypt
> libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_1.a
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
> cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
>