*sigh* More files messed with for Test-Simple-0.82.
authorSteve Peters <steve@fisharerojo.org>
Wed, 15 Oct 2008 14:32:01 +0000 (14:32 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 14 Feb 2009 23:06:44 +0000 (23:06 +0000)
p4raw-id: //depot/perl@34488

(cherry picked from commit 87f9c3f59c3e56a72bcc46cf3cff7442b40b537c)

MANIFEST
t/lib/Dev/Null.pm
t/lib/SigDie.pm [new file with mode: 0644]
t/lib/TieOut.pm

index 90a5b4f..bbf96bb 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -3779,6 +3779,7 @@ t/lib/mypragma.t          Test the example user pragma
 t/lib/no_load.t                        Test that some modules don't load others
 t/lib/proxy_constant_subs.t    Test that Proxy Constant Subs behave correctly
 t/lib/Sans_mypragma.pm                 Test module for t/lib/mypragma.t
+t/lib/SigDie.pm                        Test module for Test::More
 t/lib/strict/refs              Tests of "use strict 'refs'" for strict.t
 t/lib/strict/subs              Tests of "use strict 'subs'" for strict.t
 t/lib/strict/vars              Tests of "use strict 'vars'" for strict.t
index 0aaf3c0..e89b4b5 100644 (file)
@@ -1,4 +1,5 @@
 package Dev::Null;
+# $Id: /mirror/googlecode/test-more/t/lib/Dev/Null.pm 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51  $
 
 sub TIEHANDLE { bless {} }
 sub PRINT { 1 }
diff --git a/t/lib/SigDie.pm b/t/lib/SigDie.pm
new file mode 100644 (file)
index 0000000..f954e2d
--- /dev/null
@@ -0,0 +1,6 @@
+package SigDie;
+
+use vars qw($DIE);
+$SIG{__DIE__} = sub { $DIE = $@ };
+
+1;
index 0a0f5f9..24a1559 100644 (file)
@@ -1,13 +1,14 @@
 package TieOut;
+# $Id: /mirror/googlecode/test-more-trunk/t/lib/TieOut.pm 67132 2008-10-01T01:11:04.501643Z schwern  $
 
 sub TIEHANDLE {
     my $scalar = '';
-    bless( \$scalar, $_[0]);
+    bless( \$scalar, $_[0] );
 }
 
 sub PRINT {
     my $self = shift;
-    $$self .= join('', @_);
+    $$self .= join( '', @_ );
 }
 
 sub PRINTF {
@@ -16,7 +17,7 @@ sub PRINTF {
     $$self .= sprintf $fmt, @_;
 }
 
-sub FILENO {}
+sub FILENO { }
 
 sub read {
     my $self = shift;