summaryrefslogtreecommitdiff
path: root/debian/patches/10_test_network.patch
blob: 3861c55553f64195b5f3fceadfaa1e28d02f039a (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
26
27
28
29
30
31
32
33
34
35
36
37
38
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();