Skip to content

Commit 2388977

Browse files
committed
Merge r1917251 from trunk:
* test/testproc.c (test_create_proc): Close stdin after writing data. (already in 1.7) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.8.x@1932348 13f79535-47bb-0310-9956-ffa450edef68
1 parent f22f29f commit 2388977

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/testproc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ static void test_create_proc(abts_case *tc, void *data)
6565
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
6666
ABTS_SIZE_EQUAL(tc, strlen(TESTSTR), length);
6767

68+
rv = apr_file_close(testfile);
69+
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
70+
6871
testfile = newproc.out;
6972
length = 256;
7073
buf = apr_pcalloc(p, length);

0 commit comments

Comments
 (0)