diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-15 19:12:10 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-15 19:12:10 +0000 |
commit | 059ba3663f14b3275d66577f4b86be54ead399f2 (patch) | |
tree | 16c2fb770bbc8840e3d8723e658ab3aec1601936 /test/testproc.c | |
parent | 3a0c20fddaa99f7973b7d1dbb02fe5e84d34cc31 (diff) | |
download | libapr-059ba3663f14b3275d66577f4b86be54ead399f2.tar.gz |
Make sure testproc cleans up after itself too.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64178 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testproc.c')
-rw-r--r-- | test/testproc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testproc.c b/test/testproc.c index afe22a875..1c231c009 100644 --- a/test/testproc.c +++ b/test/testproc.c @@ -188,6 +188,11 @@ static void test_file_redir(CuTest *tc) CuAssertIntEquals(tc, APR_SUCCESS, rv); CuAssertStrEquals(tc, TESTSTR, buf); + + apr_file_close(testfile); + apr_file_close(testout); + apr_file_close(testerr); + rv = apr_file_remove("data/stdin", p);; CuAssertIntEquals(tc, APR_SUCCESS, rv); rv = apr_file_remove("data/stdout", p);; |