summaryrefslogtreecommitdiff
path: root/p/haskell-http-client/debian/patches/disable-network-tests.patch
blob: 1e08dbd261ba4a0365886f8471c05505b65a91da (plain)
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
Description: Disable tests requiring external network resources
 Ubuntu buildds aren't permitted to access these, and Debian buildds
 shouldn't rely on them.
Author: Colin Watson <cjwatson@debian.org>
Forwarded: not-needed
Last-Update: 2013-12-30

Index: b/test/Spec.hs
===================================================================
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -2,11 +2,11 @@
 import qualified Network.HTTP.Client.BodySpec as BodySpec
 import qualified Network.HTTP.Client.HeadersSpec as HeadersSpec
 import qualified Network.HTTP.Client.ResponseSpec as ResponseSpec
-import qualified Network.HTTP.ClientSpec as ClientSpec
+-- import qualified Network.HTTP.ClientSpec as ClientSpec

 main :: IO ()
 main = hspec $ do
     BodySpec.spec
     HeadersSpec.spec
     ResponseSpec.spec
-    ClientSpec.spec
+    -- ClientSpec.spec