diff options
author | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-04-19 14:58:06 +0000 |
---|---|---|
committer | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-04-19 14:58:06 +0000 |
commit | 1079f746c943b2efffa28970fe03f679334c3bb3 (patch) | |
tree | 84772e454aafeb26dc13cc6ed6455fb7c40bc10d /src/pt | |
parent | 2660d770616a348aabb9480dcbafa4841ae84aa0 (diff) | |
download | gnunet-1079f746c943b2efffa28970fe03f679334c3bb3.tar.gz gnunet-1079f746c943b2efffa28970fe03f679334c3bb3.zip |
added privilege testing parameters for nat-server and added parameters
to currently windows-only tests (less work in the future, even if this
is ATM unused)
Diffstat (limited to 'src/pt')
-rw-r--r-- | src/pt/test_gns_vpn.c | 6 |
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"); |