commit 37e171ae5958e50fcdc4a9139b1f5ca35a694f65
parent a766078062ac47d0a9f06570388da851a53f5457
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 9 Oct 2016 12:03:22 +0000
skip test if link-local IPv6 DNS server is used
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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 &