summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/dns/test_gnunet_dns.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dns/test_gnunet_dns.sh b/src/dns/test_gnunet_dns.sh
index 0fa338c9b..e0fcb711d 100755
--- a/src/dns/test_gnunet_dns.sh
+++ b/src/dns/test_gnunet_dns.sh
@@ -42,6 +42,12 @@ then
exit 77
fi
+if test ! `id nobody`;
+then
+ echo "This tests requires a user account 'nobody'. Skipping."
+ exit 77
+fi
+
export PATH=".:$PATH"
gnunet-service-dns -c dns.conf &
gnunet-dns-redirector -c dns.conf -4 127.0.0.1 &