aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_quota_compliance.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-02-27 15:24:26 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-02-27 15:24:26 +0000
commit1b4e1f7577f04263bb959874c5ddc1ef1a9f1769 (patch)
tree6473912c77b32b92a0f19254776526353febb654 /src/transport/test_quota_compliance.c
parent1ba0b6ccf604b30da51c7feba659b19d955e8b72 (diff)
downloadgnunet-1b4e1f7577f04263bb959874c5ddc1ef1a9f1769.tar.gz
gnunet-1b4e1f7577f04263bb959874c5ddc1ef1a9f1769.zip
- removing old nat server code
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r--src/transport/test_quota_compliance.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index b0111cc89..8f4db5352 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -583,8 +583,6 @@ check ()
583int 583int
584main (int argc, char *argv[]) 584main (int argc, char *argv[])
585{ 585{
586 int nat_res;
587
588 GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); 586 GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name);
589 587
590 GNUNET_log_setup (test_name, 588 GNUNET_log_setup (test_name,
@@ -601,24 +599,6 @@ main (int argc, char *argv[])
601 599
602 tth = GNUNET_TRANSPORT_TESTING_init (); 600 tth = GNUNET_TRANSPORT_TESTING_init ();
603 601
604 if ((strcmp (test_plugin, "tcp_nat") == 0) ||
605 (strcmp (test_plugin, "udp_nat") == 0))
606 {
607 nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server");
608 if (GNUNET_NO == nat_res)
609 {
610 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n",
611 "gnunet-nat-server", "SUID not set");
612 return 0;
613 }
614 if (GNUNET_SYSERR == nat_res)
615 {
616 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n",
617 "gnunet-nat-server", "file not found");
618 return 0;
619 }
620 }
621
622 GNUNET_TRANSPORT_TESTING_get_config_name (argv[0], &cfg_file_p1, 1); 602 GNUNET_TRANSPORT_TESTING_get_config_name (argv[0], &cfg_file_p1, 1);
623 GNUNET_TRANSPORT_TESTING_get_config_name (argv[0], &cfg_file_p2, 2); 603 GNUNET_TRANSPORT_TESTING_get_config_name (argv[0], &cfg_file_p2, 2);
624 604