aboutsummaryrefslogtreecommitdiff
path: root/src/dns/test_gnunet_dns.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns/test_gnunet_dns.sh')
-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 &