summaryrefslogtreecommitdiff
path: root/debian/patches/0001-disable_network_test.patch
blob: 1bf6b987f6ae87a7d790926ba3b6ac26b7129518 (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
40
Description: disable network tests
 disable network tests to prevent errors on buildsystems 
 without any networks.
Forwarded: not-needed
Author: Jörg Frings-Fürst <debian@jff.email>
Last-Update: 2021-11-26
---
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();