diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-10-09 12:03:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-10-09 12:03:22 +0000 |
commit | 37e171ae5958e50fcdc4a9139b1f5ca35a694f65 (patch) | |
tree | 2bf78c4de487ee23a5aaa630370d4cf9c1432e4c /src/dns | |
parent | a766078062ac47d0a9f06570388da851a53f5457 (diff) | |
download | gnunet-37e171ae5958e50fcdc4a9139b1f5ca35a694f65.tar.gz gnunet-37e171ae5958e50fcdc4a9139b1f5ca35a694f65.zip |
skip test if link-local IPv6 DNS server is used
Diffstat (limited to 'src/dns')
-rwxr-xr-x | src/dns/test_gnunet_dns.sh | 5 |
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 |
33 | fi | 33 | fi |
34 | if grep % /etc/resolv.conf &> /dev/null | ||
35 | then | ||
36 | echo "This system seems to use a DNS server on an IPv6 link-local address, which is not supported. Skipping." | ||
37 | exit 77 | ||
38 | fi | ||
34 | 39 | ||
35 | export PATH=".:$PATH" | 40 | export PATH=".:$PATH" |
36 | gnunet-service-dns -c dns.conf & | 41 | gnunet-service-dns -c dns.conf & |