You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by co...@apache.org on 2026/03/16 21:30:24 UTC

svn commit: r1932348 - in apr/apr/branches/1.8.x: . test

Author: covener
Date: Mon Mar 16 21:30:24 2026
New Revision: 1932348

Log:
Merge r1917251 from trunk:

* test/testproc.c
  (test_create_proc): Close stdin after writing data.

(already in 1.7)

Modified:
   apr/apr/branches/1.8.x/   (props changed)
   apr/apr/branches/1.8.x/test/testproc.c

Modified: apr/apr/branches/1.8.x/test/testproc.c
==============================================================================
--- apr/apr/branches/1.8.x/test/testproc.c	Mon Mar 16 20:13:53 2026	(r1932347)
+++ apr/apr/branches/1.8.x/test/testproc.c	Mon Mar 16 21:30:24 2026	(r1932348)
@@ -65,6 +65,9 @@ static void test_create_proc(abts_case *
     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);