Skip to content

Commit 26163d7

Browse files
committed
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. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1922983 13f79535-47bb-0310-9956-ffa450edef68
1 parent 7816b1e commit 26163d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subversion/tests/libsvn_ra/ra-test.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ open_tunnel(svn_stream_t **request, svn_stream_t **response,
277277
if (status == APR_SUCCESS)
278278
status = apr_procattr_io_set(attr, 1, 1, 0);
279279
if (status == APR_SUCCESS)
280-
status = apr_procattr_cmdtype_set(attr, APR_PROGRAM);
280+
status = apr_procattr_cmdtype_set(attr, APR_PROGRAM_ENV);
281281
proc = apr_palloc(pool, sizeof(*proc));
282282
if (status == APR_SUCCESS)
283283
status = apr_proc_create(proc,

0 commit comments

Comments
 (0)