diff options
author | 2005-10-03 23:09:37 +1000 | |
---|---|---|
committer | 2005-10-03 23:09:37 +1000 | |
commit | 101205900b105169c06d9a083304c01f5013d6f4 (patch) | |
tree | 8a101a3d984190dde8d6a43c67c6e597882a24cc /fish_tests.c | |
parent | c39fed1f37b790ce685f7883fc64d3ed8fccedf5 (diff) |
Make sure all internal file descriptors are closed when spawning children
darcs-hash:20051003130937-ac50b-95fb750b3c26f1c03a2a877770bbeee536ea3b74.gz
Diffstat (limited to 'fish_tests.c')
-rw-r--r-- | fish_tests.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/fish_tests.c b/fish_tests.c index 73756693..7cf8066a 100644 --- a/fish_tests.c +++ b/fish_tests.c @@ -614,13 +614,14 @@ int main( int argc, char **argv ) say( L"Testing low-level functionality"); say( L"Lines beginning with 'fish:' are not errors, they are warning messages\ngenerated by the fish parser library when given broken input, and can be\nignored. All errors begin with 'Error:'." ); - + + exec_init(); parser_init(); function_init(); builtin_init(); - env_init(); complete_init(); reader_init(); + env_init(); test_util(); test_tok(); @@ -635,13 +636,13 @@ int main( int argc, char **argv ) // say( L"Testing performance" ); // perf_complete(); - reader_destroy(); - + env_destroy(); + reader_destroy(); parser_destroy(); function_destroy(); builtin_destroy(); - env_destroy(); complete_destroy(); wutil_destroy(); + exec_destroy(); } |