about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/http/myserver/disable-dns-lookup-in-chroot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/http/myserver/disable-dns-lookup-in-chroot.patch')
-rw-r--r--nixpkgs/pkgs/servers/http/myserver/disable-dns-lookup-in-chroot.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/http/myserver/disable-dns-lookup-in-chroot.patch b/nixpkgs/pkgs/servers/http/myserver/disable-dns-lookup-in-chroot.patch
new file mode 100644
index 000000000000..31b24915c4da
--- /dev/null
+++ b/nixpkgs/pkgs/servers/http/myserver/disable-dns-lookup-in-chroot.patch
@@ -0,0 +1,12 @@
+Disable this test because it attempts to do a DNS lookup, which fails
+in a chroot.
+
+--- myserver-0.10/tests/test_socket.cpp	2010-10-19 00:12:59.000000000 +0200
++++ myserver-0.10/tests/test_socket.cpp	2010-10-19 00:13:07.000000000 +0200
+@@ -56,7 +56,6 @@ class TestSocket : public CppUnit::TestF
+ 
+   CPPUNIT_TEST (testGethostname);
+   CPPUNIT_TEST (testRecv);
+-  CPPUNIT_TEST (testGetLocalIPsList);
+ 
+   CPPUNIT_TEST_SUITE_END ();