summaryrefslogtreecommitdiff
path: root/user/mumble/tests-networking.patch
blob: a1decd477ddb50c2309ec1d92b9199136b4bb8ce (plain) (blame)
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
--- mumble-1.3.2/src/tests/TestServerResolver/TestServerResolver.cpp	2020-07-09 17:06:18.000000000 +0000
+++ mumble-1.3.2/src/tests/TestServerResolver/TestServerResolver.cpp	2020-09-20 06:15:32.741670504 +0000
@@ -33,9 +33,7 @@ class TestServerResolver : public QObjec
 };
 
 void TestServerResolver::simpleSrv() {
-#ifdef USE_NO_SRV
-	return;
-#endif
+	return; // network access required
 
 	// Qt 5's SRV resolver does not work in Wine.
 	// For more info, see https://bugs.winehq.org/show_bug.cgi?id=44296
@@ -86,9 +84,7 @@ void TestServerResolver::simpleSrv() {
 }
 
 void TestServerResolver::srvCustomPort() {
-#ifdef USE_NO_SRV
-	return;
-#endif
+	return; // network access required
 
 	// Qt 5's SRV resolver does not work in Wine.
 	// For more info, see https://bugs.winehq.org/show_bug.cgi?id=44296
@@ -139,6 +135,8 @@ void TestServerResolver::srvCustomPort()
 
 
 void TestServerResolver::simpleCNAME() {
+	return; // network access required
+
 	ServerResolver r;
 	QSignalSpy spy(&r, SIGNAL(resolved()));