r62517 - in /trunk/libtest-tcp-perl: Changes META.yml Makefile.PL debian/changelog debian/copyright inc/Test/More.pm lib/Test/TCP.pm t/04_die.t
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Mon Sep 13 08:06:39 UTC 2010
Author: periapt-guest
Date: Mon Sep 13 08:06:19 2010
New Revision: 62517
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=62517
Log:
* New upstream release
* Removed 'GNU/Linux' from copyright
Modified:
trunk/libtest-tcp-perl/Changes
trunk/libtest-tcp-perl/META.yml
trunk/libtest-tcp-perl/Makefile.PL
trunk/libtest-tcp-perl/debian/changelog
trunk/libtest-tcp-perl/debian/copyright
trunk/libtest-tcp-perl/inc/Test/More.pm
trunk/libtest-tcp-perl/lib/Test/TCP.pm
trunk/libtest-tcp-perl/t/04_die.t
Modified: trunk/libtest-tcp-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tcp-perl/Changes?rev=62517&op=diff
==============================================================================
--- trunk/libtest-tcp-perl/Changes (original)
+++ trunk/libtest-tcp-perl/Changes Mon Sep 13 08:06:19 2010
@@ -1,4 +1,13 @@
Revision history for Perl extension Test::TCP
+
+1.06
+
+ - depend to Test::SharedFork 0.14. It fixes issue with Test::Builder2.
+
+1.05
+
+ - workaround for $@ issue in test case.
+ Data::Util's method modifier clears $@.
1.04
Modified: trunk/libtest-tcp-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tcp-perl/META.yml?rev=62517&op=diff
==============================================================================
--- trunk/libtest-tcp-perl/META.yml (original)
+++ trunk/libtest-tcp-perl/META.yml Mon Sep 13 08:06:19 2010
@@ -20,8 +20,8 @@
- xt
requires:
IO::Socket::INET: 0
- Test::SharedFork: 0.12
+ Test::SharedFork: 0.14
perl: 5.8.0
resources:
license: http://dev.perl.org/licenses/
-version: 1.04
+version: 1.06
Modified: trunk/libtest-tcp-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tcp-perl/Makefile.PL?rev=62517&op=diff
==============================================================================
--- trunk/libtest-tcp-perl/Makefile.PL (original)
+++ trunk/libtest-tcp-perl/Makefile.PL Mon Sep 13 08:06:19 2010
@@ -5,7 +5,7 @@
all_from 'lib/Test/TCP.pm';
requires 'IO::Socket::INET' => 0;
-requires 'Test::SharedFork' => 0.12;
+requires 'Test::SharedFork' => 0.14;
tests 't/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t';
test_requires 'Test::More';
Modified: trunk/libtest-tcp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tcp-perl/debian/changelog?rev=62517&op=diff
==============================================================================
--- trunk/libtest-tcp-perl/debian/changelog (original)
+++ trunk/libtest-tcp-perl/debian/changelog Mon Sep 13 08:06:19 2010
@@ -1,3 +1,10 @@
+libtest-tcp-perl (1.06-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * Removed 'GNU/Linux' from copyright
+
+ -- Nicholas Bamber <nicholas at periapt.co.uk> Mon, 13 Sep 2010 09:05:43 +0100
+
libtest-tcp-perl (1.04-1) unstable; urgency=low
* New upstream release.
Modified: trunk/libtest-tcp-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tcp-perl/debian/copyright?rev=62517&op=diff
==============================================================================
--- trunk/libtest-tcp-perl/debian/copyright (original)
+++ trunk/libtest-tcp-perl/debian/copyright Mon Sep 13 08:06:19 2010
@@ -34,7 +34,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License, which comes with Perl.
.
- On Debian GNU/Linux systems, the complete text of the Artistic License
+ On Debian systems, the complete text of the Artistic License
can be found in `/usr/share/common-licenses/Artistic'.
License: GPL-1+
@@ -43,5 +43,5 @@
the Free Software Foundation; either version 1, or (at your option)
any later version.
.
- On Debian GNU/Linux systems, the complete text of version 1 of the
+ On Debian systems, the complete text of version 1 of the
General Public License can be found in `/usr/share/common-licenses/GPL-1'.
Modified: trunk/libtest-tcp-perl/inc/Test/More.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tcp-perl/inc/Test/More.pm?rev=62517&op=diff
==============================================================================
--- trunk/libtest-tcp-perl/inc/Test/More.pm (original)
+++ trunk/libtest-tcp-perl/inc/Test/More.pm Mon Sep 13 08:06:19 2010
@@ -1,7 +1,7 @@
#line 1
package Test::More;
-use 5.006;
+use 5.008001;
use strict;
use warnings;
@@ -18,7 +18,7 @@
return warn @_, " at $file line $line\n";
}
-our $VERSION = '0.96';
+our $VERSION = '2.00_01';
$VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval)
use Test::Builder::Module;
@@ -249,7 +249,7 @@
#line 736
-sub subtest($&) {
+sub subtest {
my ($name, $subtests) = @_;
my $tb = Test::More->builder;
@@ -270,7 +270,7 @@
return $tb->ok( 0, @_ );
}
-#line 823
+#line 828
sub use_ok ($;@) {
my( $module, @imports ) = @_;
@@ -332,7 +332,7 @@
return( $eval_result, $eval_error );
}
-#line 892
+#line 897
sub require_ok ($) {
my($module) = shift;
@@ -376,7 +376,7 @@
return $module =~ /^[a-zA-Z]\w*$/ ? 1 : 0;
}
-#line 969
+#line 974
our( @Data_Stack, %Refs_Seen );
my $DNE = bless [], 'Does::Not::Exist';
@@ -483,7 +483,7 @@
return '';
}
-#line 1129
+#line 1134
sub diag {
return Test::More->builder->diag(@_);
@@ -493,13 +493,13 @@
return Test::More->builder->note(@_);
}
-#line 1155
+#line 1160
sub explain {
return Test::More->builder->explain(@_);
}
-#line 1221
+#line 1226
## no critic (Subroutines::RequireFinalReturn)
sub skip {
@@ -527,7 +527,7 @@
last SKIP;
}
-#line 1305
+#line 1310
sub todo_skip {
my( $why, $how_many ) = @_;
@@ -548,7 +548,7 @@
last TODO;
}
-#line 1360
+#line 1365
sub BAIL_OUT {
my $reason = shift;
@@ -557,7 +557,7 @@
$tb->BAIL_OUT($reason);
}
-#line 1399
+#line 1404
#'#
sub eq_array {
@@ -697,7 +697,7 @@
}
}
-#line 1546
+#line 1551
sub eq_hash {
local @Data_Stack = ();
@@ -732,7 +732,7 @@
return $ok;
}
-#line 1605
+#line 1610
sub eq_set {
my( $a1, $a2 ) = @_;
@@ -757,6 +757,6 @@
);
}
-#line 1807
+#line 1812
1;
Modified: trunk/libtest-tcp-perl/lib/Test/TCP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tcp-perl/lib/Test/TCP.pm?rev=62517&op=diff
==============================================================================
--- trunk/libtest-tcp-perl/lib/Test/TCP.pm (original)
+++ trunk/libtest-tcp-perl/lib/Test/TCP.pm Mon Sep 13 08:06:19 2010
@@ -2,10 +2,10 @@
use strict;
use warnings;
use 5.00800;
-our $VERSION = '1.04';
+our $VERSION = '1.06';
use base qw/Exporter/;
use IO::Socket::INET;
-use Test::SharedFork;
+use Test::SharedFork 0.12;
use Test::More ();
use Config;
use POSIX;
@@ -48,7 +48,7 @@
}
my $port = $args{port} || empty_port();
- if ( my $pid = Test::SharedFork->fork() ) {
+ if ( my $pid = fork() ) {
# parent.
wait_port($port);
Modified: trunk/libtest-tcp-perl/t/04_die.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tcp-perl/t/04_die.t?rev=62517&op=diff
==============================================================================
--- trunk/libtest-tcp-perl/t/04_die.t (original)
+++ trunk/libtest-tcp-perl/t/04_die.t Mon Sep 13 08:06:19 2010
@@ -20,8 +20,9 @@
},
);
};
-ok $@;
-like $@, qr/sinamon/;
+my $e = $@;
+ok $e;
+like $e, qr/sinamon/;
my $killed = kill 9, $child_pid;
is $killed, 0, "already killed by test_tcp";
More information about the Pkg-perl-cvs-commits
mailing list