tests: Remove unused DNS6 calculation from fedora tests
The Fedora test file extracts some information from the host resolv.conf into a DNS6 variable which is then never used. Remove this unnecessary step, which is presumably a leftover from an earlier iteration. This was the only user of 'head' and 'sed' in the test file, so those can also be removed from the required tools. The debian and ubuntu test files also listed 'head' and 'sed' as tools, although they don't use them, I'm guessing because of an earlier version which had the same DNS6 code. Remove those as well. The opensuse test file still actually uses DNS6, so leave it there for now. The DNS handling and network config handling for SuSE looks to be kind of broken, but fixing that is a job for another day. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
d2802ec874
commit
30ac86823b
3 changed files with 3 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
||||||
# Author: Stefano Brivio <sbrivio@redhat.com>
|
# Author: Stefano Brivio <sbrivio@redhat.com>
|
||||||
|
|
||||||
temp PIDFILE
|
temp PIDFILE
|
||||||
htools head sed cat kill qemu-system-x86_64 qemu-system-aarch64 qemu-system-ppc64
|
htools cat kill qemu-system-x86_64 qemu-system-aarch64 qemu-system-ppc64
|
||||||
|
|
||||||
# Quick pasta test: send message from init to ns, and from ns to init
|
# Quick pasta test: send message from init to ns, and from ns to init
|
||||||
def distro_quick_pasta_test
|
def distro_quick_pasta_test
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# Author: Stefano Brivio <sbrivio@redhat.com>
|
# Author: Stefano Brivio <sbrivio@redhat.com>
|
||||||
|
|
||||||
temp PIDFILE
|
temp PIDFILE
|
||||||
htools head sed cat kill qemu-system-x86_64
|
htools cat kill qemu-system-x86_64
|
||||||
|
|
||||||
# Quick pasta test: send message from init to ns, and from ns to init
|
# Quick pasta test: send message from init to ns, and from ns to init
|
||||||
def distro_quick_pasta_test
|
def distro_quick_pasta_test
|
||||||
|
@ -59,7 +59,6 @@ endef
|
||||||
hostb ./passt -P __PIDFILE__ &
|
hostb ./passt -P __PIDFILE__ &
|
||||||
sleep 1
|
sleep 1
|
||||||
host echo
|
host echo
|
||||||
hout DNS6 sed -n 's/^nameserver \([^:]*:\)\([^%]*\).*/\1\2/p' /etc/resolv.conf | head -1
|
|
||||||
|
|
||||||
test Fedora 26, x86_64
|
test Fedora 26, x86_64
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# Author: Stefano Brivio <sbrivio@redhat.com>
|
# Author: Stefano Brivio <sbrivio@redhat.com>
|
||||||
|
|
||||||
temp PIDFILE
|
temp PIDFILE
|
||||||
htools qemu-img virt-edit guestfish head sed cat kill qemu-system-x86_64 qemu-system-ppc64 qemu-system-s390x
|
htools qemu-img virt-edit guestfish cat kill qemu-system-x86_64 qemu-system-ppc64 qemu-system-s390x
|
||||||
|
|
||||||
# Quick pasta test: send message from init to ns, and from ns to init
|
# Quick pasta test: send message from init to ns, and from ns to init
|
||||||
def distro_quick_pasta_test
|
def distro_quick_pasta_test
|
||||||
|
|
Loading…
Reference in a new issue