diff options
author | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-04-19 14:50:35 +0000 |
---|---|---|
committer | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-04-19 14:50:35 +0000 |
commit | 2660d770616a348aabb9480dcbafa4841ae84aa0 (patch) | |
tree | 64844d3cb78699f688a15b4dbb3daaf584c909e1 /src/pt/test_gnunet_vpn.c | |
parent | c8fe1a3b7ce92edd1f4f2035103ed547123c3666 (diff) | |
download | gnunet-2660d770616a348aabb9480dcbafa4841ae84aa0.tar.gz gnunet-2660d770616a348aabb9480dcbafa4841ae84aa0.zip |
added privilege testing parameters for helper-vpn, exit and nat-client.
todo: nat-server
Diffstat (limited to 'src/pt/test_gnunet_vpn.c')
-rw-r--r-- | src/pt/test_gnunet_vpn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c index 52899d190..c8c7317fc 100644 --- a/src/pt/test_gnunet_vpn.c +++ b/src/pt/test_gnunet_vpn.c | |||
@@ -410,12 +410,12 @@ main (int argc, char *const *argv) | |||
410 | return 0; | 410 | return 0; |
411 | } | 411 | } |
412 | #endif | 412 | #endif |
413 | vpn_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-vpn.exe"); | 413 | vpn_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-vpn"); |
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"); |
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, GNUNET_YES, NULL))) || // FIXME: CF: add test-parameters | 417 | if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary, GNUNET_YES, "-d gnunet-vpn - - 169.1.3.3.7 255.255.255.0"))) || //ipv4 only please! |
418 | (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, GNUNET_YES, NULL)))) // FIXME: CF: add test-parameters | 418 | (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, GNUNET_YES, "-d gnunet-vpn - - - 169.1.3.3.7 255.255.255.0")))) //no nat, ipv4 only |
419 | { | 419 | { |
420 | GNUNET_free (vpn_binary); | 420 | GNUNET_free (vpn_binary); |
421 | GNUNET_free (exit_binary); | 421 | GNUNET_free (exit_binary); |