From: Christian Grothoff Date: Sun, 9 Oct 2016 12:03:22 +0000 (+0000) Subject: skip test if link-local IPv6 DNS server is used X-Git-Tag: initial-import-from-subversion-38251~141 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;ds=sidebyside;h=37e171ae5958e50fcdc4a9139b1f5ca35a694f65;p=oweals%2Fgnunet.git skip test if link-local IPv6 DNS server is used --- diff --git a/src/dns/test_gnunet_dns.sh b/src/dns/test_gnunet_dns.sh index 84a57f87e..57b9716f5 100755 --- a/src/dns/test_gnunet_dns.sh +++ b/src/dns/test_gnunet_dns.sh @@ -31,6 +31,11 @@ then echo "This test requires iptables with 'mangle' support. Skipping." exit 77 fi +if grep % /etc/resolv.conf &> /dev/null +then + echo "This system seems to use a DNS server on an IPv6 link-local address, which is not supported. Skipping." + exit 77 +fi export PATH=".:$PATH" gnunet-service-dns -c dns.conf &