summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/kernel/qhostinfo/BLACKLIST
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2019-03-28 13:43:50 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2019-04-05 05:50:18 +0000
commit7935d86e7dc4ad994455aba604c8a51b01470cd5 (patch)
treed5fd285bbbaf83b185306156be010c6855d1e1e3 /tests/auto/network/kernel/qhostinfo/BLACKLIST
parent808758ad14ab3cc752cb69e9ae791b4fbd462380 (diff)
Populate test data for reverse lookups using system tools
Hardcoding IP addresses and their respective DNS records is fragile. We care about Qt producing the same result as other DNS querying tools, so testing that instead. Running a python script for this is easiest, and assumed to be quite reliable. In case where python fails/is not present, fall back to nslookup. That tool is available on Linux, macOS, and Windows, although the output it produces varies. This change implements very basic line-parsing that can interpret the various results encountered during testing on those platforms. This also reverts commit bbaceff253fae13d8e56691bc9de7e1981db5118, which blacklisted the tests that failed due to changes in DNS records. Use the opportunity to replace usage of gitorious.org. Change-Id: I967de226bd603c805df7fe3ed4e871d92d2d0750 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/network/kernel/qhostinfo/BLACKLIST')
-rw-r--r--tests/auto/network/kernel/qhostinfo/BLACKLIST2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/network/kernel/qhostinfo/BLACKLIST b/tests/auto/network/kernel/qhostinfo/BLACKLIST
index cd4d4eb03c..87c5fe991f 100644
--- a/tests/auto/network/kernel/qhostinfo/BLACKLIST
+++ b/tests/auto/network/kernel/qhostinfo/BLACKLIST
@@ -4,5 +4,3 @@
windows ci
[blockingLookup:a-plus-aaaa]
windows ci
-[reverseLookup:google-public-dns-a.google.com]
-ci