diff options
author | Graham Leggett <minfrin@apache.org> | 2010-03-02 01:28:52 +0000 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2010-03-02 01:28:52 +0000 |
commit | 6964dabd22cab386d08971a24e09276f47b03c24 (patch) | |
tree | 95494b902b0cae88733f8f08f5e17ac5fa32235a /test/testproc.c | |
parent | edcc309d0e36c8f557219bfbfffa75aadddbafa9 (diff) | |
download | apr-6964dabd22cab386d08971a24e09276f47b03c24.tar.gz |
Use the APR_FOPEN_* constants instead of the deprecated APR_* constants
within code inside the test suite.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@917838 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testproc.c')
-rw-r--r-- | test/testproc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testproc.c b/test/testproc.c index 5cf768f1e..c983f2594 100644 --- a/test/testproc.c +++ b/test/testproc.c @@ -91,15 +91,15 @@ static void test_file_redir(abts_case *tc, void *data) testfile = NULL; rv = apr_file_open(&testfile, "data/stdin", - APR_READ | APR_WRITE | APR_CREATE | APR_EXCL, + APR_FOPEN_READ | APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_EXCL, APR_OS_DEFAULT, p); ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); rv = apr_file_open(&testout, "data/stdout", - APR_READ | APR_WRITE | APR_CREATE | APR_EXCL, + APR_FOPEN_READ | APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_EXCL, APR_OS_DEFAULT, p); ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); rv = apr_file_open(&testerr, "data/stderr", - APR_READ | APR_WRITE | APR_CREATE | APR_EXCL, + APR_FOPEN_READ | APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_EXCL, APR_OS_DEFAULT, p); ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); |