Skip to content

Instantly share code, notes, and snippets.

View robinsmidsrod's full-sized avatar

Robin Smidsrød robinsmidsrod

View GitHub Profile
From 5b70fa7ed266b78825dbf8d3dba65857d69fb54d Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Robin=20Smidsr=C3=B8d?= <robin@smidsrod.no>
Date: Fri, 19 Jun 2009 20:47:10 +0200
Subject: [PATCH] Tests for namespaced loading
---
t/03_1.namespaced_loading.t | 41 ++++++++++++++++++++++++++++++++++++
t/03_2.namespaced_loading.t | 41 ++++++++++++++++++++++++++++++++++++
t/03_3.namespaced_loading.t | 49 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 131 insertions(+), 0 deletions(-)
@robinsmidsrod
robinsmidsrod / gist:135179
Created June 24, 2009 11:03
failed install of CPANPLUS::Dist::Deb
[MSG] [Wed Jun 24 13:00:14 2009] Trying to get 'ftp://ftp.uninett.no/pub/languages/perl/CPAN/authors/id/K/KA/KANE/CPANPLUS-Dist-Deb-0.12.tar.gz'
[MSG] [Wed Jun 24 13:00:16 2009] Trying to get 'ftp://ftp.uninett.no/pub/languages/perl/CPAN/authors/id/K/KA/KANE/CHECKSUMS'
[MSG] [Wed Jun 24 13:00:17 2009] Checksum matches for 'CPANPLUS-Dist-Deb-0.12.tar.gz'
[MSG] [Wed Jun 24 13:00:17 2009] Extracted 'CPANPLUS-Dist-Deb-0.12/'
[MSG] [Wed Jun 24 13:00:17 2009] Extracted 'CPANPLUS-Dist-Deb-0.12/CHANGES'
[MSG] [Wed Jun 24 13:00:17 2009] Extracted 'CPANPLUS-Dist-Deb-0.12/lib/'
[MSG] [Wed Jun 24 13:00:17 2009] Extracted 'CPANPLUS-Dist-Deb-0.12/lib/CPANPLUS/'
[MSG] [Wed Jun 24 13:00:17 2009] Extracted 'CPANPLUS-Dist-Deb-0.12/lib/CPANPLUS/Dist/'
[MSG] [Wed Jun 24 13:00:17 2009] Extracted 'CPANPLUS-Dist-Deb-0.12/lib/CPANPLUS/Dist/Deb/'
/home/portfolio/portfolio/lib
/home/portfolio/perl5/lib/perl5/i486-linux-gnu-thread-multi
/home/portfolio/perl5/lib/perl5
/etc/perl
/usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
B-Hooks-OP-Annotation
B-Hooks-OP-Check
B-Hooks-OP-Check-EntersubForCV
B-Hooks-OP-Check-StashChange
B-Hooks-OP-PPAddr
B-Hooks-Parser
Cairo
Clutter
Devel-BeginLift
Devel-Declare
*** Installing LWPx::ParanoidAgent...
Running [/usr/bin/perl /usr/bin/cpanp-run-perl /root/.cpanplus/5.10.0/build/LWPx-ParanoidAgent-1.05/Makefile.PL ]...
Writing Makefile for LWPx::ParanoidAgent
Running [/usr/bin/make test UNINST=1]...
make[1]: Entering directory `/root/.cpanplus/5.10.0/build/LWPx-ParanoidAgent-1.05'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Undefined subroutine &LWP::Debug::debug called at /root/.cpanplus/5.10.0/build/LWPx-ParanoidAgent-1.05/blib/lib/LWPx/ParanoidAgent.pm line 394.
Killing child pid: 7806
# Looks like you planned 29 tests but ran 1.
# Looks like your test exited with 255 just after 1.
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing HTTP::Response::Encoding 0.05, Perl 5.010000, /usr/bin/perl
t/00-load.t ....... ok
# Failed test '$res->charset eq 'EUC-JP''
# at t/01-file.t line 49.
# got: undef
# expected: 'EUC-JP'
CPAN.pm: Going to build P/PE/PETDANCE/Test-WWW-Mechanize-1.24.tar.gz
CPAN: CPAN::Reporter loaded ok (v1.1708)
Checking if your kit is complete...
Looks good
Writing Makefile for Test::WWW::Mechanize
(/usr/bin/perl Makefile.PL INSTALLDIRS=site exited with 0)
CPAN::Reporter: Makefile.PL result is 'pass', No errors.
cp Mechanize.pm blib/lib/Test/WWW/Mechanize.pm
Manifying blib/man3/Test::WWW::Mechanize.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00load.t .............. 1/1 # Testing Test::WWW::Mechanize 1.24, with WWW::Mechanize 1.54, LWP 5.828, Perl 5.010000, /usr/bin/perl
t/00load.t .............. ok
t/autolint.t ............ skipped: HTML::Lint is not installed, cannot test autolint
t/back_ok.t ............. 2/11 # $VAR1 = bless( {
# '_previous' => bless( {
# '_protocol' => 'HTTP/1.1',
# '_content' => '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>302 Found</title>
IPC::Run 0000 [#2(5048)]: ****** harnessing *****
IPC::Run 0000 [#3(5048)]: ****** harnessing *****
IPC::Run 0000 [#3(5048)]: parsing [ 'command', '/c', 'C:\STRAWB~1\perl\bin\perl', '-e', 'exit' ]
IPC::Run 0000 [#3(5048)]: ** starting
IPC::Run 0001 [#3(5048)]: caught Command 'command' not found in C:\Windows\system32, C:\Windows, C:\Windows\System32\Wbem, C:\Programs\Console2, C:\Program Files\Java\jdk1.6.0_11\bin, C:\Programs\perl, C:\programs\sqlite-3.6.11, C:\Programs\jintellitype-1.3.1, C:\Program Files (x86)\GNU\GnuPG\, C:\Program Files (x86)\Notepad++, C:\strawberry\perl\bin, C:\strawberry\c\bin, C:\Program Files (x86)\Git\cmd, C:\Users\robin\perl, C:\Program Files (x86)\MKVtoolnix at t/run.t line 38
IPC::Run 0001 [#3(5048)]: never ran child 1, can't reap
Command 'command' not found in C:\Windows\system32, C:\Windows, C:\Windows\System32\Wbem, C:\Programs\Console2, C:\Program Files\Java\jdk1.6.0_11\bin, C:\Programs\perl, C:\programs\sqlite-3.6.11, C:\Programs\jintellitype-1.3.1, C:\Program Files (x86)\G
if ( Win32_MODE ) {
my $command_shell = $ENV{'ComSpec'} || 'command';
@args = ( [ $command_shell, qw( /c ), win32_parse_cmd_line $_[0] ] );
}
else {
@args = ( [ qw( sh -c ), @_ ] );
}