aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-09 12:03:22 +0000
committerChristian Grothoff <christian@grothoff.org>2016-10-09 12:03:22 +0000
commit37e171ae5958e50fcdc4a9139b1f5ca35a694f65 (patch)
tree2bf78c4de487ee23a5aaa630370d4cf9c1432e4c /src/dns
parenta766078062ac47d0a9f06570388da851a53f5457 (diff)
downloadgnunet-37e171ae5958e50fcdc4a9139b1f5ca35a694f65.tar.gz
gnunet-37e171ae5958e50fcdc4a9139b1f5ca35a694f65.zip
skip test if link-local IPv6 DNS server is used
Diffstat (limited to 'src/dns')
-rwxr-xr-xsrc/dns/test_gnunet_dns.sh5
1 files changed, 5 insertions, 0 deletions
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
31 echo "This test requires iptables with 'mangle' support. Skipping." 31 echo "This test requires iptables with 'mangle' support. Skipping."
32 exit 77 32 exit 77
33fi 33fi
34if grep % /etc/resolv.conf &> /dev/null
35then
36 echo "This system seems to use a DNS server on an IPv6 link-local address, which is not supported. Skipping."
37 exit 77
38fi
34 39
35export PATH=".:$PATH" 40export PATH=".:$PATH"
36gnunet-service-dns -c dns.conf & 41gnunet-service-dns -c dns.conf &