diff options
Diffstat (limited to 'src/nat/test_nat_test.c')
-rw-r--r-- | src/nat/test_nat_test.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c index e960bc3fd..b3fb64221 100644 --- a/src/nat/test_nat_test.c +++ b/src/nat/test_nat_test.c | |||
@@ -108,23 +108,17 @@ main (int argc, char *const argv[]) | |||
108 | #endif | 108 | #endif |
109 | NULL); | 109 | NULL); |
110 | 110 | ||
111 | nat_res = GNUNET_OS_check_helper_binary ("gnunet-helper-nat-server"); | 111 | nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server"); |
112 | if (GNUNET_NO == nat_res) | ||
113 | { | ||
114 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n", | ||
115 | "gnunet-helper-nat-server", "SUID not set"); | ||
116 | return 0; | ||
117 | } | ||
118 | if (GNUNET_SYSERR == nat_res) | 112 | if (GNUNET_SYSERR == nat_res) |
119 | { | 113 | { |
120 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n", | 114 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' file not found\n", |
121 | "gnunet-helper-nat-server", "file not found"); | 115 | "gnunet-nat-server"); |
122 | return 0; | 116 | return 0; |
123 | } | 117 | } |
124 | 118 | ||
125 | gns = | 119 | gns = |
126 | GNUNET_OS_start_process (NULL, NULL, "gnunet-helper-nat-server", | 120 | GNUNET_OS_start_process (NULL, NULL, "gnunet-nat-server", |
127 | "gnunet-helper-nat-server", | 121 | "gnunet-nat-server", |
128 | #if VERBOSE | 122 | #if VERBOSE |
129 | "-L", "DEBUG", | 123 | "-L", "DEBUG", |
130 | #endif | 124 | #endif |