summaryrefslogtreecommitdiffstats
path: root/test/testproc.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-12 04:59:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-12 04:59:59 +0000
commit052282b2d174632c62327a1ccd2d839e8ab3ec9e (patch)
tree9604f20f0dc601f1b8f34d0adbd9fcdc57140b2d /test/testproc.c
parentReleasing progress-linux version 1.7.2-3.2~progress7.99u1. (diff)
downloadapr-052282b2d174632c62327a1ccd2d839e8ab3ec9e.tar.xz
apr-052282b2d174632c62327a1ccd2d839e8ab3ec9e.zip
Merging upstream version 1.7.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/testproc.c')
-rw-r--r--test/testproc.c3
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);