[Pkg-haskell-commits] darcs: haskell-http-client: Disable test which connects to www.yesodweb.com.

Clint Adams clint at debian.org
Fri Jun 6 13:43:26 UTC 2014


Fri Jun  6 13:43:19 UTC 2014  Clint Adams <clint at debian.org>
  * Disable test which connects to www.yesodweb.com.

    M ./changelog +6
    A ./patches/disable-external-network-connection-test.diff
    A ./patches/series

Fri Jun  6 13:43:19 UTC 2014  Clint Adams <clint at debian.org>
  * Disable test which connects to www.yesodweb.com.
diff -rN -u old-haskell-http-client/changelog new-haskell-http-client/changelog
--- old-haskell-http-client/changelog	2014-06-06 13:43:26.153983219 +0000
+++ new-haskell-http-client/changelog	2014-06-06 13:43:26.153983219 +0000
@@ -1,3 +1,9 @@
+haskell-http-client (0.3.3-2) unstable; urgency=medium
+
+  * Disable test which connects to www.yesodweb.com.
+
+ -- Clint Adams <clint at debian.org>  Fri, 06 Jun 2014 09:37:17 -0400
+
 haskell-http-client (0.3.3-1) unstable; urgency=medium
 
   * New upstream version.
diff -rN -u old-haskell-http-client/patches/disable-external-network-connection-test.diff new-haskell-http-client/patches/disable-external-network-connection-test.diff
--- old-haskell-http-client/patches/disable-external-network-connection-test.diff	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-http-client/patches/disable-external-network-connection-test.diff	2014-06-06 13:43:26.157983218 +0000
@@ -0,0 +1,14 @@
+--- a/test/Network/HTTP/ClientSpec.hs
++++ b/test/Network/HTTP/ClientSpec.hs
+@@ -55,11 +55,6 @@
+ 
+ spec :: Spec
+ spec = describe "Client" $ do
+-    it "works" $ withSocketsDo $ do
+-        req <- parseUrl "http://www.yesodweb.com/"
+-        man <- newManager defaultManagerSettings
+-        res <- httpLbs req man
+-        responseStatus res `shouldBe` status200
+     describe "fails on empty hostnames #40" $ do
+         let test url = it url $ do
+                 req <- parseUrl url
diff -rN -u old-haskell-http-client/patches/series new-haskell-http-client/patches/series
--- old-haskell-http-client/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-http-client/patches/series	2014-06-06 13:43:26.157983218 +0000
@@ -0,0 +1 @@
+disable-external-network-connection-test.diff




More information about the Pkg-haskell-commits mailing list