aboutsummaryrefslogtreecommitdiff
path: root/src/pt
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-04-15 15:00:53 +0000
committerChristian Grothoff <christian@grothoff.org>2013-04-15 15:00:53 +0000
commit8a6448fb4f4dbfab07995028ce8f2516c563cac3 (patch)
treeb73a10218990841af0d58f2e433752f8092c4aec /src/pt
parent4e668e13d72a1fc55abfe69578c0486fdf02cd78 (diff)
downloadgnunet-8a6448fb4f4dbfab07995028ce8f2516c563cac3.tar.gz
gnunet-8a6448fb4f4dbfab07995028ce8f2516c563cac3.zip
-no boolean
Diffstat (limited to 'src/pt')
-rw-r--r--src/pt/test_gns_vpn.c6
-rw-r--r--src/pt/test_gnunet_vpn.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c
index 0ae875d0f..b1d25dd85 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)
543 bin_dns = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-dns"); 543 bin_dns = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-dns");
544 if ( (0 != geteuid ()) && 544 if ( (0 != geteuid ()) &&
545 ( (GNUNET_YES != 545 ( (GNUNET_YES !=
546 GNUNET_OS_check_helper_binary (bin_vpn, TRUE, NULL)) || 546 GNUNET_OS_check_helper_binary (bin_vpn, GNUNET_YES, NULL)) ||
547 (GNUNET_YES != 547 (GNUNET_YES !=
548 GNUNET_OS_check_helper_binary (bin_exit, TRUE, NULL)) || 548 GNUNET_OS_check_helper_binary (bin_exit, GNUNET_YES, NULL)) ||
549 (GNUNET_YES != 549 (GNUNET_YES !=
550 GNUNET_OS_check_helper_binary (bin_dns, TRUE, NULL))) ) 550 GNUNET_OS_check_helper_binary (bin_dns, GNUNET_YES, NULL))) )
551 { 551 {
552 fprintf (stderr, 552 fprintf (stderr,
553 "WARNING: gnunet-helper-{exit,vpn,dns} binaries in $PATH are not SUID, refusing to run test (as it would have to fail).\n"); 553 "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 b6e8980c9..52899d190 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)
414 exit_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-exit.exe"); 414 exit_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-exit.exe");
415 fprintf (stderr,"%s\n", vpn_binary); 415 fprintf (stderr,"%s\n", vpn_binary);
416 fprintf (stderr,"%s\n", exit_binary); 416 fprintf (stderr,"%s\n", exit_binary);
417 if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary, TRUE, NULL))) || // FIXME: CF: add test-parameters 417 if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary, GNUNET_YES, NULL))) || // FIXME: CF: add test-parameters
418 (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, TRUE, NULL)))) // FIXME: CF: add test-parameters 418 (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, GNUNET_YES, NULL)))) // FIXME: CF: add test-parameters
419 { 419 {
420 GNUNET_free (vpn_binary); 420 GNUNET_free (vpn_binary);
421 GNUNET_free (exit_binary); 421 GNUNET_free (exit_binary);