summaryrefslogtreecommitdiff
path: root/debian/patches/0001-disable_network_test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0001-disable_network_test.patch')
-rw-r--r--debian/patches/0001-disable_network_test.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/patches/0001-disable_network_test.patch b/debian/patches/0001-disable_network_test.patch
new file mode 100644
index 0000000..3861c55
--- /dev/null
+++ b/debian/patches/0001-disable_network_test.patch
@@ -0,0 +1,39 @@
+Description: disable network tests
+ disable network tests to prevent errors on buildsystems
+ without any networks.
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Last-Update: 2014-10-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/test/nsockaddr_test.h
+===================================================================
+--- trunk.orig/test/nsockaddr_test.h
++++ trunk/test/nsockaddr_test.h
+@@ -28,11 +28,11 @@ class nsockaddr_test : public CppUnit::T
+ // setup the test suite
+ CPPUNIT_TEST_SUITE( nsockaddr_test );
+ CPPUNIT_TEST( test_constructor_localhost );
+- CPPUNIT_TEST( test_constructor_remote );
++// CPPUNIT_TEST( test_constructor_remote );
+ CPPUNIT_TEST( test_constructor_fail );
+ CPPUNIT_TEST( test_constructor_local_any );
+- CPPUNIT_TEST( test_constructor_local_service );
+- CPPUNIT_TEST( test_constructor_remote_service );
++// CPPUNIT_TEST( test_constructor_local_service );
++// CPPUNIT_TEST( test_constructor_remote_service );
+ CPPUNIT_TEST_SUITE_END();
+
+ public:
+Index: trunk/test/lsockstream_test.h
+===================================================================
+--- trunk.orig/test/lsockstream_test.h
++++ trunk/test/lsockstream_test.h
+@@ -39,7 +39,7 @@ class lsockstream_test : public CppUnit:
+ CPPUNIT_TEST( test_connect_fail );
+ CPPUNIT_TEST( test_connect_addr_fail );
+ CPPUNIT_TEST( test_connect );
+- CPPUNIT_TEST( test_connect_addr );
++// CPPUNIT_TEST( test_connect_addr );
+ CPPUNIT_TEST( test_read_timeout );
+ CPPUNIT_TEST_SUITE_END();
+