diff options
Diffstat (limited to 'test/testproc.c')
-rw-r--r-- | test/testproc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testproc.c b/test/testproc.c index 096ecfd..3c32465 100644 --- a/test/testproc.c +++ b/test/testproc.c @@ -65,6 +65,9 @@ static void test_create_proc(abts_case *tc, void *data) ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); ABTS_SIZE_EQUAL(tc, strlen(TESTSTR), length); + rv = apr_file_close(testfile); + ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); + testfile = newproc.out; length = 256; buf = apr_pcalloc(p, length); |