commit 71bc272b15a42d2a02f0d4fcda44ccc7c21e3966
parent 115ca121950c28901af638e3fe787e7324de695d
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 21 May 2013 13:01:18 +0000
-test for mangle support
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/dns/test_gnunet_dns.sh b/src/dns/test_gnunet_dns.sh
@@ -26,6 +26,11 @@ then
echo "This test requires nslookup. Skipping."
exit 0
fi
+if ! iptables -t mangle --list &> /dev/null
+then
+ echo "This test requires iptables with 'mangle' support. Skipping."
+fi
+
export PATH=".:$PATH"
gnunet-service-dns -c dns.conf &
gnunet-dns-redirector -c dns.conf -4 127.0.0.1 &