summaryrefslogtreecommitdiff
path: root/test/testdir.c
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2010-03-02 01:28:52 +0000
committerGraham Leggett <minfrin@apache.org>2010-03-02 01:28:52 +0000
commit6964dabd22cab386d08971a24e09276f47b03c24 (patch)
tree95494b902b0cae88733f8f08f5e17ac5fa32235a /test/testdir.c
parentedcc309d0e36c8f557219bfbfffa75aadddbafa9 (diff)
downloadapr-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/testdir.c')
-rw-r--r--test/testdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testdir.c b/test/testdir.c
index 63a2f1722..417a1d7b2 100644
--- a/test/testdir.c
+++ b/test/testdir.c
@@ -180,7 +180,7 @@ static void test_uncleared_errno(abts_case *tc, void *data)
rv = apr_dir_make("dir2", APR_OS_DEFAULT, p);
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
rv = apr_file_open(&thefile, "dir1/file1",
- APR_READ | APR_WRITE | APR_CREATE, APR_OS_DEFAULT, p);
+ APR_FOPEN_READ | APR_FOPEN_WRITE | APR_FOPEN_CREATE, APR_OS_DEFAULT, p);
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
rv = apr_file_close(thefile);
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);