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:
9d41ec3
)
test_gnunet_dns.sh: check if user 'nobody' exists and return 77 if not.
author
ng0
<ng0@n0.is>
Thu, 17 Oct 2019 14:10:55 +0000
(14:10 +0000)
committer
ng0
<ng0@n0.is>
Thu, 17 Oct 2019 14:10:55 +0000
(14:10 +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 0fa338c9ba1e930cd5355dceb1ac3ece25a3398b..e0fcb711dbfa916b56b145dc056ae302636dc8a9 100755
(executable)
--- 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 &