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

[email protected] Mon, 16 Mar 2026 21:30:24 -0000
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
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);