summaryrefslogblamecommitdiff
path: root/user/mumble/tests-networking.patch
blob: a1decd477ddb50c2309ec1d92b9199136b4bb8ce (plain) (tree)































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