gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: test_gnunet_dns.sh: check i


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: test_gnunet_dns.sh: check if user 'nobody' exists and return 77 if not.
Date: Thu, 17 Oct 2019 16:13:41 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c08cc5aeb test_gnunet_dns.sh: check if user 'nobody' exists and return 
77 if not.
c08cc5aeb is described below

commit c08cc5aeb3b2daa8711c86162575953a271e6b3e
Author: ng0 <address@hidden>
AuthorDate: Thu Oct 17 14:10:55 2019 +0000

    test_gnunet_dns.sh: check if user 'nobody' exists and return 77 if not.
---
 src/dns/test_gnunet_dns.sh | 6 ++++++
 1 file changed, 6 insertions(+)

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 &

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]