From 8a6448fb4f4dbfab07995028ce8f2516c563cac3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 15 Apr 2013 15:00:53 +0000 Subject: -no boolean --- src/pt/test_gns_vpn.c | 6 +++--- src/pt/test_gnunet_vpn.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pt') diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c index 0ae875d0f3..b1d25dd85a 100644 --- a/src/pt/test_gns_vpn.c +++ b/src/pt/test_gns_vpn.c @@ -543,11 +543,11 @@ main (int argc, char *const *argv) bin_dns = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-dns"); if ( (0 != geteuid ()) && ( (GNUNET_YES != - GNUNET_OS_check_helper_binary (bin_vpn, TRUE, NULL)) || + GNUNET_OS_check_helper_binary (bin_vpn, GNUNET_YES, NULL)) || (GNUNET_YES != - GNUNET_OS_check_helper_binary (bin_exit, TRUE, NULL)) || + GNUNET_OS_check_helper_binary (bin_exit, GNUNET_YES, NULL)) || (GNUNET_YES != - GNUNET_OS_check_helper_binary (bin_dns, TRUE, NULL))) ) + GNUNET_OS_check_helper_binary (bin_dns, GNUNET_YES, NULL))) ) { fprintf (stderr, "WARNING: gnunet-helper-{exit,vpn,dns} binaries in $PATH are not SUID, refusing to run test (as it would have to fail).\n"); diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c index b6e8980c9d..52899d190f 100644 --- a/src/pt/test_gnunet_vpn.c +++ b/src/pt/test_gnunet_vpn.c @@ -414,8 +414,8 @@ main (int argc, char *const *argv) exit_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-exit.exe"); fprintf (stderr,"%s\n", vpn_binary); fprintf (stderr,"%s\n", exit_binary); - if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary, TRUE, NULL))) || // FIXME: CF: add test-parameters - (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, TRUE, NULL)))) // FIXME: CF: add test-parameters + if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary, GNUNET_YES, NULL))) || // FIXME: CF: add test-parameters + (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, GNUNET_YES, NULL)))) // FIXME: CF: add test-parameters { GNUNET_free (vpn_binary); GNUNET_free (exit_binary); -- cgit v1.2.3-18-g5258