perl-Test-SharedFork/tests-need-help.patch

42 lines
1.2 KiB
Diff

---
t/06_fail_lineno.t | 21 ---------------------
t/08_threads.t | 2 +-
2 files changed, 1 insertion(+), 22 deletions(-)
Index: Test-SharedFork-0.15/t/06_fail_lineno.t
===================================================================
--- Test-SharedFork-0.15.orig/t/06_fail_lineno.t 2010-09-10 21:43:42.000000000 -0400
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,21 +0,0 @@
-use strict;
-use warnings;
-use Test::More tests => 2;
-use Test::SharedFork;
-use File::Temp qw/tempfile/;
-
-local $ENV{LANG} = "C";
-
-my $out = do {
- open my $fh, ">", \my $out or die $!;
- my $test = Test::Builder->create();
- $test->output($fh);
- $test->failure_output($fh);
- $test->todo_output($fh);
- $test->ok(0);
- $out;
-};
-
-unlike($out, qr{lib/Test/SharedFork});
-like($out, qr{t/06_fail_lineno.t line \d+\.});
-
Index: Test-SharedFork-0.15/t/08_threads.t
===================================================================
--- Test-SharedFork-0.15.orig/t/08_threads.t 2010-09-12 01:59:20.000000000 -0400
+++ Test-SharedFork-0.15/t/08_threads.t 2010-09-21 19:35:20.113647922 -0400
@@ -25,4 +25,4 @@
exit 0;
}
-done_testing;
+done_testing();