[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Fixing Test-k for Cygwin (and hopefully Windows)
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] Fixing Test-k for Cygwin (and hopefully Windows) |
Date: |
Fri, 11 Dec 2015 15:11:58 +0100 |
User-agent: |
KMail/4.14.10 (Linux/4.2.0-1-amd64; KDE/4.14.14; x86_64; ; ) |
On Friday 11 December 2015 14:43:32 Gisle Vanem wrote:
> > Test-k fails on Cygwin with LC_ALL=C (which is the default for 'make
> > check').
> >
> > With this patch the test works on CygWin and on Linux.
> >
> > Here is a patch that *should* fix it also for 'plain' MS Windows.
> > Could anyone test this on Windows (without CygWin) ?
>
> From perl.exe -d -d Test-k.px:
>
> main::(Test-k.px:10): my $osname = $^O;
>
> SetConsoleMode failed, LastError=|6| at
> f:/util/StrawberryPerl/perl/vendor/lib/Term/ReadKey.pm line 309. at
> f:/util/StrawberryPerl/perl/vendor/lib/Term/ReadLine/readline.pm line 1581.
> readline::readline(" DB<1> ") called at
> f:/util/StrawberryPerl/perl/vendor/lib/Term/ReadLine/Perl.pm line 11
> Term::ReadLine::Perl::readline(Term::ReadLine::Perl=ARRAY(0xc2a6ec), "
> DB<1> ") called at F:/util/StrawberryPer l/perl/lib/perl5db.pl line 7284
> DB::readline(" DB<1> ") called at
> F:/util/StrawberryPerl/perl/lib/perl5db.pl line 1831
> DB::_DB__read_next_cmd(undef) called at
> F:/util/StrawberryPerl/perl/lib/perl5db.pl line 2744 DB::DB called at
> Test-k.px line 10
> DB<1> r
> OS=MSWin32
> Running test Test-k
> Cannot fork at Test-k.px line 90.
> at WgetTests.pm line 410.
> WgetTest::_fork_and_launch_server(HTTPTest=HASH(0x33e634c)) called
> at WgetTests.pm line 111 WgetTest::run(HTTPTest=HASH(0x33e634c)) called at
> Test-k.px line 90
>
> This has never work outside *nix or Cygwin I think.
Thanks for testing, Gisle !
That means the perl test suite is broken on Windows - thus no test suite at
all on Windows !? Perl is not able to fork on Windows ?
Can anyone confirm that ?
Regards, Tim