diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-05-21 13:01:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-05-21 13:01:18 +0000 |
commit | 71bc272b15a42d2a02f0d4fcda44ccc7c21e3966 (patch) | |
tree | 2bd673cf01848e39b4e944a92ce625f223940bc8 /src/dns | |
parent | 115ca121950c28901af638e3fe787e7324de695d (diff) | |
download | gnunet-71bc272b15a42d2a02f0d4fcda44ccc7c21e3966.tar.gz gnunet-71bc272b15a42d2a02f0d4fcda44ccc7c21e3966.zip |
-test for mangle support
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 c768dd318..d811ba7d6 100755 --- a/src/dns/test_gnunet_dns.sh +++ b/src/dns/test_gnunet_dns.sh | |||
@@ -26,6 +26,11 @@ then | |||
26 | echo "This test requires nslookup. Skipping." | 26 | echo "This test requires nslookup. Skipping." |
27 | exit 0 | 27 | exit 0 |
28 | fi | 28 | fi |
29 | if ! iptables -t mangle --list &> /dev/null | ||
30 | then | ||
31 | echo "This test requires iptables with 'mangle' support. Skipping." | ||
32 | fi | ||
33 | |||
29 | export PATH=".:$PATH" | 34 | export PATH=".:$PATH" |
30 | gnunet-service-dns -c dns.conf & | 35 | gnunet-service-dns -c dns.conf & |
31 | gnunet-dns-redirector -c dns.conf -4 127.0.0.1 & | 36 | gnunet-dns-redirector -c dns.conf -4 127.0.0.1 & |