mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-25 08:06:21 +08:00
CI: Add network autotests support for QNX
Add regular UNIX network related files to configure
used test network based around QEMU and docker
services. IP address 172.31.1.1 is bridge interface
address in host which QNX tool mkqnximage set
(hard coded intool, cannot be changed).
Docker service hostnames are configured statically
as mDNS does not work from QEMU.
Change-Id: Id7be7867e5bea1f354456e8d440f9979c402e977
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 477877352a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
28d8ebdd5b
commit
0ad4b8a794
@@ -0,0 +1,11 @@
|
||||
# Need to add all testserver names statically
|
||||
# as current Docker uses Multicast DNS (mDNS) (avahi)
|
||||
# Which does not work with QNX qemu
|
||||
172.31.1.1 apache2 apache2.test-net.qt.local
|
||||
172.31.1.1 squid squid.test-net.qt.local
|
||||
172.31.1.1 vsftpd vsftpd.test-net.qt.local
|
||||
172.31.1.1 ftp-proxy ftp-proxy.test-net.qt.local
|
||||
172.31.1.1 danted danted.test-net.qt.local
|
||||
172.31.1.1 cyrus cyrus.test-net.qt.local
|
||||
172.31.1.1 echo echo.test-net.qt.local
|
||||
172.31.1.1 iptables iptables.test-net.qt.local
|
||||
@@ -0,0 +1,2 @@
|
||||
search test-net.qt.local
|
||||
nameserver 172.31.1.1
|
||||
@@ -15,3 +15,7 @@ var/share/zoneinfo=usr/share/zoneinfo
|
||||
[uid=0 gid=0 dperms=755 type=dir] var/share/fonts
|
||||
var/etc/fontconfig/fonts.conf=etc/fontconfig/fonts.conf
|
||||
var/share/fonts=usr/share/fonts
|
||||
|
||||
var/etc/hosts=local/misc_files/etc/hosts
|
||||
var/etc/resolv.conf=local/misc_files/etc/resolv.conf
|
||||
var/etc/nsswitch.conf=etc/nsswitch.conf
|
||||
|
||||
@@ -18,3 +18,8 @@ rm -rf /data/var/share/fonts/NotoSansCJK*
|
||||
rm -rf /data/var/share/fonts/NotoSansMonoCJK*
|
||||
echo "---> Create fontconfig cache"
|
||||
fc-cache &
|
||||
|
||||
# Add default route so QNX knows where to send
|
||||
# requests for unknown network
|
||||
echo "---> Add default route"
|
||||
route add default 172.31.1.1
|
||||
|
||||
@@ -49,3 +49,8 @@ xbin/fsevmgr=sbin/fsevmgr
|
||||
lib/libfontconfig.so.1=usr/lib/libfontconfig.so.1
|
||||
xbin/fc-cache=bin/fc-cache
|
||||
xbin/fc-match=local/misc_files/fc-match
|
||||
|
||||
# network
|
||||
lib/libssl.so=usr/lib/libssl.so
|
||||
xbin/nslookup=usr/bin/nslookup
|
||||
xbin/curl=usr/bin/curl
|
||||
|
||||
Reference in New Issue
Block a user