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