aboutsummaryrefslogtreecommitdiff
path: root/src/pt/test_gns_vpn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pt/test_gns_vpn.c')
-rw-r--r--src/pt/test_gns_vpn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c
index b1d25dd85..d550e3511 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, GNUNET_YES, NULL)) || 546 GNUNET_OS_check_helper_binary (bin_vpn, GNUNET_YES, "-d gnunet-vpn - - 169.1.3.3.7 255.255.255.0")) || //ipv4 only please!
547 (GNUNET_YES != 547 (GNUNET_YES !=
548 GNUNET_OS_check_helper_binary (bin_exit, GNUNET_YES, NULL)) || 548 GNUNET_OS_check_helper_binary (bin_exit, GNUNET_YES, "-d gnunet-vpn - - - 169.1.3.3.7 255.255.255.0")) || //no nat, ipv4 only
549 (GNUNET_YES != 549 (GNUNET_YES !=
550 GNUNET_OS_check_helper_binary (bin_dns, GNUNET_YES, NULL))) ) 550 GNUNET_OS_check_helper_binary (bin_dns, GNUNET_YES, NULL))) ) // TODO: once we have a windows-testcase, add test parameters here
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");