File: disable-test-network-access.patch

package info (click to toggle)
cod-tools 3.11.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 159,136 kB
  • sloc: perl: 58,707; sh: 41,323; ansic: 7,268; xml: 1,982; yacc: 1,117; makefile: 731; python: 166
file content (15 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Skipping tests that attempt to connect to Internet.
Author: Andrius Merkys <andrius.merkys@gmail.com>
Forwarded: not-needed
--- a/tests/cases/cif_cod_numbers_001.chk
+++ b/tests/cases/cif_cod_numbers_001.chk
@@ -5,6 +5,9 @@
 
 use DBI;
 
+print "Test skipped - not running tests requiring network access\n";
+exit 1;
+
 local $SIG{__WARN__} = sub {};
 
 my $dbh = DBI->connect( "dbi:mysql:" .