File: disable-network-dependent-tests.patch

package info (click to toggle)
modsecurity 3.0.14-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 88,920 kB
  • sloc: ansic: 174,512; sh: 43,569; cpp: 26,214; python: 15,734; makefile: 3,864; yacc: 2,947; lex: 1,359; perl: 1,243; php: 42; tcl: 4
file content (47 lines) | stat: -rw-r--r-- 1,563 bytes parent folder | download | duplicates (4)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Description: Disable tests requiring external networking
Author: Alberto Gonzalez Iniesta <agi@inittab.org>
Forwarded: not-needed

Index: modsecurity/test/test-cases/regression/config-secremoterules.json
===================================================================
--- modsecurity.orig/test/test-cases/regression/config-secremoterules.json	2018-11-01 19:27:28.137759232 +0100
+++ modsecurity/test/test-cases/regression/config-secremoterules.json	2018-11-19 17:00:20.679158027 +0100
@@ -1,6 +1,6 @@
 [
   {
-    "enabled":1,
+    "enabled":0,
     "version_min":300000,
     "resource": "curl",
     "title":"Include remote rules",
@@ -41,7 +41,7 @@
     ]
   },
   {
-    "enabled":1,
+    "enabled":0,
     "resource": "curl",
     "version_min":300000,
     "title":"Include remote rules - failed download (Abort)",
@@ -55,7 +55,7 @@
     ]
   },
   {
-    "enabled":1,
+    "enabled":0,
     "resource": "curl",
     "version_min":300000,
     "title":"Include remote rules - failed download (Warn)",
Index: modsecurity/test/test-cases/regression/operator-ipMatchFromFile.json
===================================================================
--- modsecurity.orig/test/test-cases/regression/operator-ipMatchFromFile.json	2018-11-01 19:27:28.141759256 +0100
+++ modsecurity/test/test-cases/regression/operator-ipMatchFromFile.json	2018-11-19 17:00:39.899395209 +0100
@@ -88,7 +88,7 @@
     ]
   },
   {
-    "enabled":1,
+    "enabled":0,
     "version_min":300000,
     "resource": "curl",
     "title":"Testing Operator :: @ipMatchFromFile - https",