aboutsummaryrefslogtreecommitdiff
path: root/src/nat/test_nat_test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-07-09 19:04:19 +0000
committerChristian Grothoff <christian@grothoff.org>2012-07-09 19:04:19 +0000
commit8f9464256fc06a884bf589b4004262a0549d11b3 (patch)
treea088b8acbebdefe2acf0b41cfed4418830275b78 /src/nat/test_nat_test.c
parent817ee37a75fb8eb5887023d1a5152cb528ee2d5a (diff)
downloadgnunet-8f9464256fc06a884bf589b4004262a0549d11b3.tar.gz
gnunet-8f9464256fc06a884bf589b4004262a0549d11b3.zip
-LRN: Another take on std descriptor inheritance
Now descriptors are not inherited by default, you have to pass a set of flags to make it so. When pipes are given, flags have no effect. gnunet-arm now has two options to block stdout and stderr from being passed to gnunet-service-arm
Diffstat (limited to 'src/nat/test_nat_test.c')
-rw-r--r--src/nat/test_nat_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c
index 891a7633a..c213ffa1e 100644
--- a/src/nat/test_nat_test.c
+++ b/src/nat/test_nat_test.c
@@ -102,7 +102,7 @@ main (int argc, char *const argv[])
102 } 102 }
103 103
104 gns = 104 gns =
105 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-nat-server", 105 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, "gnunet-nat-server",
106 "gnunet-nat-server", 106 "gnunet-nat-server",
107 "-c", "test_nat_test_data.conf", "12345", NULL); 107 "-c", "test_nat_test_data.conf", "12345", NULL);
108 GNUNET_assert (NULL != gns); 108 GNUNET_assert (NULL != gns);