aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAngelo Marletta <angelo.marletta@gmail.com>2012-06-21 02:27:11 +0100
committerAngelo Marletta <angelo.marletta@gmail.com>2012-06-21 02:27:11 +0100
commit622bdab1e23bf95d5ed725b5db8ef2cf86d42cb2 (patch)
tree4aa138125673b94add007d7f9fc4c7e83ef1d5d0 /tests
parentce079fc58d6d30c3fe400a777934b4a4cce85761 (diff)
downloadcpulimit-622bdab1e23bf95d5ed725b5db8ef2cf86d42cb2.tar.gz
removed file descriptor leak
Diffstat (limited to 'tests')
-rw-r--r--tests/process_iterator_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/process_iterator_test.c b/tests/process_iterator_test.c
index 566648d..e4d84fd 100644
--- a/tests/process_iterator_test.c
+++ b/tests/process_iterator_test.c
@@ -137,7 +137,7 @@ void test_process_group_single()
}
signal(SIGABRT, &kill_child);
signal(SIGTERM, &kill_child);
- assert(init_process_group(&pgroup, child, 0) == 0);
+ assert(init_process_group(&pgroup, child, 1) == 0);
int i;
for (i=0; i<10000; i++)
{
Un proyecto texto-plano.xyz