summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/debian/skip-kfreebsd-crash.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/debian/skip-kfreebsd-crash.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.3/debian/skip-kfreebsd-crash.diff40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/debian/skip-kfreebsd-crash.diff b/meta/recipes-devtools/perl/perl-5.14.3/debian/skip-kfreebsd-crash.diff
new file mode 100644
index 0000000..cdade88
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/debian/skip-kfreebsd-crash.diff
@@ -0,0 +1,40 @@
1Upstream-Status:Inappropriate [debian patches]
2From ff2815399ad94915da2e63cb3c4bbd2d02dac4b2 Mon Sep 17 00:00:00 2001
3From: Niko Tyni <ntyni@debian.org>
4Date: Fri, 5 Aug 2011 10:50:18 +0300
5Subject: Skip a crashing test case in t/op/threads.t on GNU/kFreeBSD
6
7Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=96272
8Bug-Debian: http://bugs.debian.org/628493
9
10The crash is not a regression in 5.14, it just gets triggered there by
11a new unrelated test case.
12
13Skip the test until the culprit is found.
14
15Patch-Name: debian/skip-kfreebsd-crash.diff
16---
17 t/op/threads.t | 4 ++++
18 1 files changed, 4 insertions(+), 0 deletions(-)
19
20diff --git a/t/op/threads.t b/t/op/threads.t
21index 24e84e4..6a91366 100644
22--- a/t/op/threads.t
23+++ b/t/op/threads.t
24@@ -342,6 +342,9 @@ threads->create(
25
26 EOI
27
28+SKIP: {
29+ skip "[perl #96272] avoid crash on GNU/kFreeBSD", 1
30+ if $^O eq 'gnukfreebsd';
31 # [perl #78494] Pipes shared between threads block when closed
32 watchdog 10;
33 {
34@@ -351,5 +354,6 @@ watchdog 10;
35 threads->create(sub { })->join;
36 ok(1, "Pipes shared between threads do not block when closed");
37 }
38+}
39
40 # EOF