From a11257cec68de795db5bcd1e30d47685c13d6a5f Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Sun, 22 Jul 2012 18:58:13 +0000 Subject: - add check to test, code cleanup --- src/gns/test_gns_proxy.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gns/test_gns_proxy.c') diff --git a/src/gns/test_gns_proxy.c b/src/gns/test_gns_proxy.c index 35350e8bb..96fe35ede 100644 --- a/src/gns/test_gns_proxy.c +++ b/src/gns/test_gns_proxy.c @@ -441,6 +441,12 @@ main (int argc, char *const *argv) return 0; } + if (GNUNET_YES != GNUNET_OS_check_helper_binary ("gnunet-helper-dns")) + { + fprintf (stderr, "DNS helper binary has wrong permissions... skipping!\n"); + return 0; + } + GNUNET_CRYPTO_setup_hostkey ("test_gns_proxy.conf"); if (0 != curl_global_init (CURL_GLOBAL_WIN32)) -- cgit v1.2.3