From: Nathan S. Evans Date: Wed, 24 Feb 2010 15:28:25 +0000 (+0000) Subject: udp nat test case doesn't fail if not installed as root X-Git-Tag: initial-import-from-subversion-38251~22611 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=23886e5dbc14010c96e7de82a1767aa4e2dc7afb;p=oweals%2Fgnunet.git udp nat test case doesn't fail if not installed as root --- diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 50bc02956..46c3ba3af 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c @@ -410,7 +410,9 @@ main (int argc, char *argv[]) is_udp_nat = GNUNET_YES; if (check_gnunet_nat_server() == GNUNET_NO) { - return GNUNET_SYSERR; + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "gnunet-nat-server not installed as root, but not failing!\n"); + return 0; } } else if (strstr(argv[0], "udp") != NULL)