qt5base-lts/tests/auto/network/kernel/qhostinfo
Volker Hilsheimer 7935d86e7d 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>
2019-04-05 05:50:18 +00:00
..
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
BLACKLIST Populate test data for reverse lookups using system tools 2019-04-05 05:50:18 +00:00
qhostinfo.pro MinGW: Globally define WINVER and _WIN32_WINNT to enable Windows 7 API 2017-10-19 10:58:59 +00:00
tst_qhostinfo.cpp Populate test data for reverse lookups using system tools 2019-04-05 05:50:18 +00:00