You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2022/06/19 20:58:21 UTC

svn commit: r1902071 - /apr/apr/trunk/test/testproc.c

Author: ivan
Date: Sun Jun 19 20:58:21 2022
New Revision: 1902071

URL: http://svn.apache.org/viewvc?rev=1902071&view=rev
Log:
Follow-up to r1902070: Use TESTBINPATH in code.

Modified:
    apr/apr/trunk/test/testproc.c

Modified: apr/apr/trunk/test/testproc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testproc.c?rev=1902071&r1=1902070&r2=1902071&view=diff
==============================================================================
--- apr/apr/trunk/test/testproc.c (original)
+++ apr/apr/trunk/test/testproc.c Sun Jun 19 20:58:21 2022
@@ -169,7 +169,7 @@ static void test_proc_args(abts_case* tc
     const char *expected;
     const char *actual;
 
-    apr_filepath_merge(&progname, NULL, BINPATH "echoargs" EXTENSION, 0, p);
+    apr_filepath_merge(&progname, NULL, TESTBINPATH "echoargs" EXTENSION, 0, p);
 
     rv = apr_procattr_create(&attr, p);
     ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
@@ -180,7 +180,7 @@ static void test_proc_args(abts_case* tc
     rv = apr_procattr_cmdtype_set(attr, APR_PROGRAM_ENV);
     ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
 
-    args[0] = BINPATH progname;
+    args[0] = progname;
     args[1] = "1";
     args[2] = "";
     args[3] = "\"te st";