projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115ca12
)
-test for mangle support
author
Christian Grothoff
<christian@grothoff.org>
Tue, 21 May 2013 13:01:18 +0000
(13:01 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 21 May 2013 13:01:18 +0000
(13:01 +0000)
src/dns/test_gnunet_dns.sh
patch
|
blob
|
history
diff --git
a/src/dns/test_gnunet_dns.sh
b/src/dns/test_gnunet_dns.sh
index c768dd3180479f057087e16994127f69ffedaaa2..d811ba7d6538de7176dde13eaac6570ff314b285 100755
(executable)
--- 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 &