[Bps-public-commit] r18489 - in Test-HTTP-Server-Simple: .

alexmv at bestpractical.com alexmv at bestpractical.com
Thu Feb 19 22:58:11 EST 2009


Author: alexmv
Date: Thu Feb 19 22:58:11 2009
New Revision: 18489

Modified:
   Test-HTTP-Server-Simple/   (props changed)
   Test-HTTP-Server-Simple/Changes
   Test-HTTP-Server-Simple/META.yml
   Test-HTTP-Server-Simple/Makefile.PL
   Test-HTTP-Server-Simple/SIGNATURE
   Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm

Log:
 r42185 at kohr-ah:  chmrr | 2009-02-19 22:57:59 -0500
  * 0.10 releng
 
  * Fix a long-standing bug where, when run under 'prove', servers
    failed to be reaped correctly.  'prove' had closed its filehandles
    by the time the module caught it, so a warn in the SIGINT handler
    caused a SIGPIPE, and hence no children were reaped.
 
  * Remove now un-needed Storable dep
 


Modified: Test-HTTP-Server-Simple/Changes
==============================================================================
--- Test-HTTP-Server-Simple/Changes	(original)
+++ Test-HTTP-Server-Simple/Changes	Thu Feb 19 22:58:11 2009
@@ -1,9 +1,16 @@
 Revision history for Test-HTTP-Server-Simple
 
+0.10 Thu Feb 19 22:51:02 EST 2009
+    Remove StashWarnings and move into its own dist (removes Storable dep)
+    Fix long-standing bug where, when under 'prove', servers didn't get killed
+    Deal better with having multiple child PIDs
+
+0.09 Tue May  6 18:05:17 EDT 2008
+    Better bulletproofing for reaping kids
+
 0.08 Tue May  6 14:14:13 EDT 2008
     Releng fixups
 
-
 0.07 Tue May  6 14:00:50 EST 2008
     Be more insistent about sending signals on END
     Also don't assume all children processes are ours
@@ -12,21 +19,19 @@
     META.yml SHA1 SUM issue
 
 0.05 Tue May  8 12:30:09 EDT 2007
-
-
     No functionality changes. Just some releng cleanups
 
 0.04
-       Patch from SMUELLER to add Win32 Support - http://rt.cpan.org/Public/Bug/Display.html?id=19564
+    Patch from SMUELLER to add Win32 Support - http://rt.cpan.org/Public/Bug/Display.html?id=19564
 
 0.03  Wed Jul  5 22:55:39 2006
-       Kill "waiting for child to start up" message.
+    Kill "waiting for child to start up" message.
 
 0.02  Tue Aug 02 18:16:00 2005
-       Change API to make it a mixin.
-       Make child signal parent when it's ready, and make the parent-killing-child
-       be much nicer than a -9.
+    Change API to make it a mixin.
+    Make child signal parent when it's ready, and make the parent-killing-child
+    be much nicer than a -9.
 
 0.01  Thu Jun 16 18:16:56 2005
-       Initial release.
+    Initial release.
 

Modified: Test-HTTP-Server-Simple/META.yml
==============================================================================
--- Test-HTTP-Server-Simple/META.yml	(original)
+++ Test-HTTP-Server-Simple/META.yml	Thu Feb 19 22:58:11 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                Test-HTTP-Server-Simple
-version:             0.09
+version:             0.10
 abstract:            Test::More functions for HTTP::Server::Simple
 license:             ~
 generated_by:        ExtUtils::MakeMaker version 6.36
@@ -8,7 +8,6 @@
 requires:     
     HTTP::Server::Simple:          0
     NEXT:                          0
-    Storable:                      0
     Test::Builder:                 0
     Test::Builder::Tester:         1.04
     Test::More:                    0

Modified: Test-HTTP-Server-Simple/Makefile.PL
==============================================================================
--- Test-HTTP-Server-Simple/Makefile.PL	(original)
+++ Test-HTTP-Server-Simple/Makefile.PL	Thu Feb 19 22:58:11 2009
@@ -9,7 +9,6 @@
     ABSTRACT_FROM       => 'lib/Test/HTTP/Server/Simple.pm',
     PL_FILES            => {},
     PREREQ_PM => {
-        'Storable' => 0,
         'Test::More' => 0,
         'Test::Builder' => 0,
         'Test::Builder::Tester' => 1.04,

Modified: Test-HTTP-Server-Simple/SIGNATURE
==============================================================================
--- Test-HTTP-Server-Simple/SIGNATURE	(original)
+++ Test-HTTP-Server-Simple/SIGNATURE	Thu Feb 19 22:58:11 2009
@@ -14,20 +14,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 7298a41d0e8b2781b244264034d5a2af8c5e0d40 Changes
+SHA1 93793c21a7cc3cd2aa546fac076c2107d0efc679 Changes
 SHA1 fde2e498ced242649142d34769cdb32ec5ba17dd MANIFEST
-SHA1 c55b48910a38d99d8a4ec851cce204689e2a6e18 META.yml
+SHA1 2c76cb02a449f0c4dcbc22d23f4f05c6a77ce6ae META.yml
 SHA1 bc05af0bffcf1216bc552bd0e62608902e7b15bf Makefile.PL
 SHA1 fa0e7c54e60cea400aab16e8f4b3044958a87790 README
-SHA1 0c03682828a7cf8dab829f68173e74ab0e1aa2db lib/Test/HTTP/Server/Simple.pm
+SHA1 8cb3d05920af2055065e8fd586857b7c85a9825f lib/Test/HTTP/Server/Simple.pm
 SHA1 6c3fc19c093bda0b4e8077ebb7ceec2f8944b7d2 t/00.load.t
 SHA1 1bdea5dc9c47d345d49089a684f2c59190ad4747 t/01.basic.t
 SHA1 6da39b48ce64b584e4c3274bff96fc76ff484820 t/pod-coverage.t
 SHA1 0190346d7072d458c8a10a45c19f86db641dcc48 t/pod.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.8 (Darwin)
+Version: GnuPG v2.0.9 (GNU/Linux)
 
-iD8DBQFIINYSEi9d9xCOQEYRAm30AKCNGs4WpQ72ROex7av8iBZIx9anTgCfaHcS
-X09kzGBNX/iK0szu4dbDCTA=
-=vWs5
+iEYEARECAAYFAkmeKQ8ACgkQMflWJZZAbqCMVgCghssDRM2pCi1rbcwm7aRcA0dm
++TsAnAwtOYOt6Y+7TRGyRA6Mh1RRY1VT
+=IvMA
 -----END PGP SIGNATURE-----

Modified: Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm
==============================================================================
--- Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm	(original)
+++ Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm	Thu Feb 19 22:58:11 2009
@@ -1,6 +1,6 @@
 package Test::HTTP::Server::Simple;
 
-our $VERSION = '0.09';
+our $VERSION = '0.10';
 
 use warnings;
 use strict;
@@ -67,7 +67,11 @@
 # If an interrupt kills perl, END blocks are not run.  This
 # essentially converts interrupts (like CTRL-C) into a standard
 # perl exit (even if we're inside an eval {}).
-$SIG{INT} = sub { warn "INT:$$"; exit };
+$SIG{INT} = sub { exit };
+
+# In case the surrounding 'prove' or similar harness got the SIGINT
+# before we did, and hence STDERR is closed.
+$SIG{PIPE} = 'IGNORE';
 
 END {
     local $?;



More information about the Bps-public-commit mailing list