File: disable_networking_tests.patch

package info (click to toggle)
libnet-xmpp-perl 1.05-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 592 kB
  • ctags: 284
  • sloc: perl: 4,286; makefile: 2; xml: 1
file content (30 lines) | stat: -rw-r--r-- 1,037 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Disable tests which require a network connection
Forwarded: not-needed
Author: Florian Ragwitz <rafl@debian.org>
Reviewed-by: Axel Beckert
Last-Update: 2015-08-10

Index: libnet-xmpp-perl/t/gtalk.t
===================================================================
--- libnet-xmpp-perl.orig/t/gtalk.t	2015-08-08 21:06:03.479243857 +0200
+++ libnet-xmpp-perl/t/gtalk.t	2015-08-10 11:52:20.271248101 +0200
@@ -52,7 +52,7 @@
 }
 
 my $repeat = 5;
-plan tests => 2 + 6 * $repeat;
+plan skip_all => 'Disabled for the Debian build';
 
 # TODO ask user if it is ok to do network tests!
 print_size('before loading Net::XMPP');
Index: libnet-xmpp-perl/t/roster.t
===================================================================
--- libnet-xmpp-perl.orig/t/roster.t	2015-08-08 21:06:03.483243846 +0200
+++ libnet-xmpp-perl/t/roster.t	2015-08-10 11:53:00.850931172 +0200
@@ -1,5 +1,5 @@
 use lib "t/lib";
-use Test::More tests=>75;
+use Test::More skip_all => 'Disabled for the Debian build';
 
 BEGIN{ use_ok( "Net::XMPP" ); }