[Bps-public-commit] r17897 - in Net-Trac/trunk: . t

jesse at bestpractical.com jesse at bestpractical.com
Thu Jan 22 12:44:49 EST 2009


Author: jesse
Date: Thu Jan 22 12:44:48 2009
New Revision: 17897

Modified:
   Net-Trac/trunk/Changes
   Net-Trac/trunk/META.yml
   Net-Trac/trunk/SIGNATURE
   Net-Trac/trunk/lib/Net/Trac.pm
   Net-Trac/trunk/t/02-create.t
   Net-Trac/trunk/t/50-full-api.t
   Net-Trac/trunk/t/attachments.t
   Net-Trac/trunk/t/comments.t
   Net-Trac/trunk/t/search.t
   Net-Trac/trunk/t/setup_trac.pl
   Net-Trac/trunk/t/update.t

Log:
 * 0.05 releng ; make the tests not kill shells for people without trac-admin

Modified: Net-Trac/trunk/Changes
==============================================================================
--- Net-Trac/trunk/Changes	(original)
+++ Net-Trac/trunk/Changes	Thu Jan 22 12:44:48 2009
@@ -1,3 +1,7 @@
+0.05 Thu Jan 22 12:11:45 EST 2009
+
+Don't hurt cpan-testers build boxes by trying to kill process undef.
+
 0.04 Wed Jan 21 19:26:56 EST 2009
 
 * Able to log into trac instances which use cookie auth

Modified: Net-Trac/trunk/META.yml
==============================================================================
--- Net-Trac/trunk/META.yml	(original)
+++ Net-Trac/trunk/META.yml	Thu Jan 22 12:44:48 2009
@@ -29,4 +29,4 @@
   XML::Feed: 0
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.04
+version: 0.05

Modified: Net-Trac/trunk/SIGNATURE
==============================================================================
--- Net-Trac/trunk/SIGNATURE	(original)
+++ Net-Trac/trunk/SIGNATURE	Thu Jan 22 12:44:48 2009
@@ -14,11 +14,11 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 31b1bafad254bf0225d05403357c96f4ce0f7a1f Changes
+SHA1 bb9dd64914723ce6102e0f1fe14a037f1bcd3dda Changes
 SHA1 aba4d512691299ee8722c1959db710467948aa40 MANIFEST
 SHA1 0a1312b976f1c61b4f2029d2fd9e348f50b9de8c MANIFEST.SKIP
-SHA1 0a3fb778cea20d3641055d13b29670735e252736 META.yml
-SHA1 1fc7c8dbd0dea809360722d05e2473e8f30f5b52 Makefile
+SHA1 e1cd39b512999b9a7559bb45e001166a72e5d005 META.yml
+SHA1 aec21ccac05659184203041a5828a2c1760a173e Makefile
 SHA1 158742119fdf2e723d48e0c30af00c6054d3b22b Makefile.PL
 SHA1 603bb9de29fb8cba7f13409c546750972eff645d inc/Module/AutoInstall.pm
 SHA1 5c9e093b0facca46d50e3c69d5569aa7a98db0b8 inc/Module/Install.pm
@@ -31,7 +31,7 @@
 SHA1 4aa1c578faad51f31e62bed7b28d3d42b88219c3 inc/Module/Install/Metadata.pm
 SHA1 d7529d795a1304c88253b26a9089913edf31ae5e inc/Module/Install/Win32.pm
 SHA1 2a74aba5a78e7ab2776382e42106ebe941c2ac28 inc/Module/Install/WriteAll.pm
-SHA1 541467e2dbb3a737fe2bf14ff275396f37528840 lib/Net/Trac.pm
+SHA1 240800e1ce0dc97baff1544947a900d2cfa09137 lib/Net/Trac.pm
 SHA1 12309338e386c9357383bcbaf1b8c2dbd313b675 lib/Net/Trac/Connection.pm
 SHA1 9e6a87ddde79fa5efcdc715e27184590b72c993e lib/Net/Trac/Mechanize.pm
 SHA1 389cfbe9ad55245fb92c6d5de48f8c0c8720e8a0 lib/Net/Trac/Ticket.pm
@@ -41,20 +41,20 @@
 SHA1 66d7b743f899cc343f999b297e8e34954de0d6f1 lib/Net/Trac/TicketPropChange.pm
 SHA1 06355c0c56362273513be5704aa7aa1c395e695b lib/Net/Trac/TicketSearch.pm
 SHA1 4124638ff631162a468c9f45d10c9c343e607e7f t/01-dependencies.t
-SHA1 25a0ac13ee8a056ac7e2f8ef11162b163f703930 t/02-create.t
-SHA1 b1cf5aa2eac204615ba41361f88ef05a86df9997 t/50-full-api.t
+SHA1 5bac82567587a272cc5e6e20c534e95e7d914247 t/02-create.t
+SHA1 d6c0b56fa755d6abf6931cd284b905f65d57be5f t/50-full-api.t
 SHA1 43f06b5200a7e849573909a01fd114d972822237 t/99-pod-coverage.t
 SHA1 bb0da54f2b3f2d7955baa41ee458cb3d1887f475 t/99-pod.t
-SHA1 98bcc0beb75c58c35aa1ccf91f784bccdad88e5f t/attachments.t
-SHA1 559c51970fa186a68e1ae5d18aadf7b6281c019a t/comments.t
+SHA1 c6e884059676679fc1de6cf7672274cc49609481 t/attachments.t
+SHA1 86189af2286e7c9e51270738ad1661c228a155c6 t/comments.t
 SHA1 1dbe75a77582c35c64b090a7bfe818f90cf14e32 t/parse_props.t
-SHA1 e9b89244b8da7824a7c175a030b820e486a93a2c t/search.t
-SHA1 b161e0104afa612efaf393d99240dd71544d3e53 t/setup_trac.pl
-SHA1 407eb31fbf4e3ebff6b5c1b83c5e6bed0d75a46a t/update.t
+SHA1 a992e66a4c7cc392cdca2b48b8bf1a18c935c946 t/search.t
+SHA1 d1d1fd1ceb2d7596f2e18ba78c5aba93022033fd t/setup_trac.pl
+SHA1 af115c5e1941195fdd7fb36cf22bd7cfe2b1f7a8 t/update.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (Darwin)
 
-iEYEARECAAYFAkl3vWoACgkQEi9d9xCOQEb77gCgjS1uE1gTXrLHEDlIeoMrSKMc
-1/cAn37pnqZTbADN5MvXyM+JZwYScggt
-=/BaN
+iEYEARECAAYFAkl4qQoACgkQEi9d9xCOQEZXiwCgwe8tJ4HhFbuH1GMZuiC5ZtNb
+GKsAoMvk5Xd+tZAA6j/+fQjpBuUFRrkN
+=ckOL
 -----END PGP SIGNATURE-----

Modified: Net-Trac/trunk/lib/Net/Trac.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac.pm	Thu Jan 22 12:44:48 2009
@@ -4,7 +4,7 @@
 package Net::Trac;
 use Moose;
 
-our $VERSION = '0.04';
+our $VERSION = '0.05';
 
 use Net::Trac::Connection;
 use Net::Trac::Ticket;

Modified: Net-Trac/trunk/t/02-create.t
==============================================================================
--- Net-Trac/trunk/t/02-create.t	(original)
+++ Net-Trac/trunk/t/02-create.t	Thu Jan 22 12:44:48 2009
@@ -1,7 +1,11 @@
 use warnings; 
 use strict;
 
-use Test::More tests => 16;
+use Test::More;
+
+unless (`which trac-admin`) { plan skip_all => 'You need trac installed to run the tests'; }
+plan tests => 16;
+
 use_ok('Net::Trac::Connection');
 use_ok('Net::Trac::Ticket');
 require 't/setup_trac.pl';

Modified: Net-Trac/trunk/t/50-full-api.t
==============================================================================
--- Net-Trac/trunk/t/50-full-api.t	(original)
+++ Net-Trac/trunk/t/50-full-api.t	Thu Jan 22 12:44:48 2009
@@ -1,4 +1,9 @@
-use Test::More tests => 24;
+use Test::More;
+
+unless (`which trac-admin`) { plan skip_all => 'You need trac installed to run the tests'; }
+plan tests => 24;
+
+
 use_ok('Net::Trac::Connection');
 use_ok('Net::Trac::Ticket');
 require 't/setup_trac.pl';

Modified: Net-Trac/trunk/t/attachments.t
==============================================================================
--- Net-Trac/trunk/t/attachments.t	(original)
+++ Net-Trac/trunk/t/attachments.t	Thu Jan 22 12:44:48 2009
@@ -1,7 +1,11 @@
 use warnings; 
 use strict;
 
-use Test::More tests => 29;
+use Test::More;
+
+unless (`which trac-admin`) { plan skip_all => 'You need trac installed to run the tests'; }
+plan tests => 29;
+
 use_ok('Net::Trac::Connection');
 use_ok('Net::Trac::Ticket');
 require 't/setup_trac.pl';

Modified: Net-Trac/trunk/t/comments.t
==============================================================================
--- Net-Trac/trunk/t/comments.t	(original)
+++ Net-Trac/trunk/t/comments.t	Thu Jan 22 12:44:48 2009
@@ -1,7 +1,11 @@
 use warnings; 
 use strict;
 
-use Test::More tests => 28;
+use Test::More;
+
+unless (`which trac-admin`) { plan skip_all => 'You need trac installed to run the tests'; }
+plan tests => 28;
+
 use_ok('Net::Trac::Connection');
 use_ok('Net::Trac::Ticket');
 require 't/setup_trac.pl';

Modified: Net-Trac/trunk/t/search.t
==============================================================================
--- Net-Trac/trunk/t/search.t	(original)
+++ Net-Trac/trunk/t/search.t	Thu Jan 22 12:44:48 2009
@@ -1,7 +1,12 @@
 use warnings; 
 use strict;
 
-use Test::More tests => 60;
+use Test::More;
+
+unless (`which trac-admin`) { plan skip_all => 'You need trac installed to run the tests'; }
+plan tests => 60;
+
+
 use_ok('Net::Trac::Connection');
 use_ok('Net::Trac::TicketSearch');
 require 't/setup_trac.pl';

Modified: Net-Trac/trunk/t/setup_trac.pl
==============================================================================
--- Net-Trac/trunk/t/setup_trac.pl	(original)
+++ Net-Trac/trunk/t/setup_trac.pl	Thu Jan 22 12:44:48 2009
@@ -102,6 +102,7 @@
 
 sub kill_trac {
     my $self = shift;
+    return unless $self->pid;
     kill 1, $self->pid;
 
 }

Modified: Net-Trac/trunk/t/update.t
==============================================================================
--- Net-Trac/trunk/t/update.t	(original)
+++ Net-Trac/trunk/t/update.t	Thu Jan 22 12:44:48 2009
@@ -1,7 +1,11 @@
 use warnings; 
 use strict;
 
-use Test::More tests => 29;
+use Test::More;
+
+unless (`which trac-admin`) { plan skip_all => 'You need trac installed to run the tests'; }
+plan tests => 29;
+
 use_ok('Net::Trac::Connection');
 use_ok('Net::Trac::Ticket');
 use_ok('Net::Trac::TicketSearch');



More information about the Bps-public-commit mailing list