depot/third_party/nixpkgs/pkgs/servers/http/myserver/disable-dns-lookup-in-chroot.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

12 lines
431 B
Diff

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 ();