summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/testdup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testdup.c b/test/testdup.c
index e639c83b1..68a036140 100644
--- a/test/testdup.c
+++ b/test/testdup.c
@@ -87,7 +87,7 @@ static void test_file_dup(CuTest *tc)
rv = apr_file_close(file3);
CuAssertIntEquals(tc, APR_SUCCESS, rv);
rv = apr_stat(&finfo, FILENAME, APR_FINFO_NORM, p);
- CuAssertIntEquals(tc, APR_ENOENT, rv);
+ CuAssertIntEquals(tc, 1, APR_STATUS_IS_ENOENT(rv));
}
static void test_file_readwrite(CuTest *tc)
@@ -131,7 +131,7 @@ static void test_file_readwrite(CuTest *tc)
rv = apr_file_close(file3);
CuAssertIntEquals(tc, APR_SUCCESS, rv);
rv = apr_stat(&finfo, FILENAME, APR_FINFO_NORM, p);
- CuAssertIntEquals(tc, APR_ENOENT, rv);
+ CuAssertIntEquals(tc, 1, APR_STATUS_IS_ENOENT(rv));
}
static void test_dup2(CuTest *tc)