From 2b09d371eb7d9f3e903603a94efdafa1e650a85b Mon Sep 17 00:00:00 2001 From: Rolland Dudemaine Date: Thu, 24 Mar 2016 11:02:27 +0100 Subject: Resolve build failure in network stress tests. strncmp() needs 3 arguments, not 2. Change-Id: Ia7077108a533321d5218cc35fd78ada8863f8200 Reviewed-by: Oswald Buddenhagen --- .../manual/network_remote_stresstest/tst_network_remote_stresstest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp') diff --git a/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp b/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp index 486c5179b7..6767c8b153 100644 --- a/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp +++ b/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp @@ -144,7 +144,7 @@ void tst_NetworkRemoteStressTest::init() { // clear the internal cache #ifndef QT_BUILD_INTERNAL - if (strncmp(QTest::currentTestFunction(), "nam") == 0) + if (strncmp(QTest::currentTestFunction(), "nam", 3) == 0) QSKIP("QNetworkAccessManager tests disabled"); #endif } -- cgit v1.2.3