File: no-network.patch

package info (click to toggle)
libhtml-formfu-perl 2.05000-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,328 kB
  • ctags: 831
  • sloc: perl: 12,785; makefile: 9; sql: 5
file content (27 lines) | stat: -rw-r--r-- 432 bytes parent folder | download
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
Description: skip tests which need network access
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-10-29

--- a/t/constraints/email.t
+++ b/t/constraints/email.t
@@ -36,6 +36,9 @@
 
 }
 
+SKIP: {
+    skip "Unset NO_NETWORK to run this test.", 3 if $ENV{NO_NETWORK};
+
 {
 
 my $form = HTML::FormFu->new;
@@ -87,6 +90,8 @@
 
 }
 
+} # end SKIP
+
 {
 
 my $form = HTML::FormFu->new;