More W32 resolver workarounds
[oweals/gnunet.git] / src / dns / test_gnunet_dns.sh
index c768dd3180479f057087e16994127f69ffedaaa2..4fa47bb6fcad05666a11124d90940f40e4523b42 100755 (executable)
@@ -26,6 +26,12 @@ 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."
+  exit 0
+fi
+
 export PATH=".:$PATH"
 gnunet-service-dns -c dns.conf &
 gnunet-dns-redirector -c dns.conf -4 127.0.0.1 &