Author: jorton
Date: Wed Jan 8 08:50:52 2025
New Revision: 1922983
URL: http://svn.apache.org/viewvc?rev=1922983&view=rev
Log:
Fix ra-test execution of svnserve in some build environments (closes #25):
* subversion/tests/libsvn_ra/ra-test.c
(open_tunnel): Execute svnserve with APR_PROGRAM_ENV rather than
APR_PROGRAM, so the environment is inherited from the build rather
than empty. svnserve may depend on the $LD_LIBRARY_PATH setting,
for example.
Modified:
subversion/trunk/subversion/tests/libsvn_ra/ra-test.c
Modified: subversion/trunk/subversion/tests/libsvn_ra/ra-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_ra/ra-test.c?rev=1922983&r1=1922982&r2=1922983&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_ra/ra-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_ra/ra-test.c Wed Jan 8 08:50:52 2025
@@ -277,7 +277,7 @@ open_tunnel(svn_stream_t **request, svn_
if (status == APR_SUCCESS)
status = apr_procattr_io_set(attr, 1, 1, 0);
if (status == APR_SUCCESS)
- status = apr_procattr_cmdtype_set(attr, APR_PROGRAM);
+ status = apr_procattr_cmdtype_set(attr, APR_PROGRAM_ENV);
proc = apr_palloc(pool, sizeof(*proc));
if (status == APR_SUCCESS)
status = apr_proc_create(proc,
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.