aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-05-21 13:01:18 +0000
committerChristian Grothoff <christian@grothoff.org>2013-05-21 13:01:18 +0000
commit71bc272b15a42d2a02f0d4fcda44ccc7c21e3966 (patch)
tree2bd673cf01848e39b4e944a92ce625f223940bc8 /src
parent115ca121950c28901af638e3fe787e7324de695d (diff)
downloadgnunet-71bc272b15a42d2a02f0d4fcda44ccc7c21e3966.tar.gz
gnunet-71bc272b15a42d2a02f0d4fcda44ccc7c21e3966.zip
-test for mangle support
Diffstat (limited to 'src')
-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 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
28fi 28fi
29if ! iptables -t mangle --list &> /dev/null
30then
31 echo "This test requires iptables with 'mangle' support. Skipping."
32fi
33
29export PATH=".:$PATH" 34export PATH=".:$PATH"
30gnunet-service-dns -c dns.conf & 35gnunet-service-dns -c dns.conf &
31gnunet-dns-redirector -c dns.conf -4 127.0.0.1 & 36gnunet-dns-redirector -c dns.conf -4 127.0.0.1 &