diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-31 18:00:57 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-31 18:00:57 +0000 |
commit | ec7f9f9383c06a6c26d0227731022059e7a1e974 (patch) | |
tree | 90319d2bfff1d65a3d66c9f43837c6e3a21d9be3 /test/testnames.c | |
parent | 76a3fed08861b19fff604fa5b689a425e25711d8 (diff) | |
download | libapr-ec7f9f9383c06a6c26d0227731022059e7a1e974.tar.gz |
Look at the status before the pointer result
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64245 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testnames.c')
-rw-r--r-- | test/testnames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testnames.c b/test/testnames.c index cf4b3a622..3c07d4b81 100644 --- a/test/testnames.c +++ b/test/testnames.c @@ -75,8 +75,8 @@ static void merge_aboveroot(CuTest *tc) rv = apr_filepath_merge(&dstpath, ABS_ROOT"foo", ABS_ROOT"bar", APR_FILEPATH_NOTABOVEROOT, p); apr_strerror(rv, errmsg, sizeof(errmsg)); - CuAssertPtrEquals(tc, NULL, dstpath); CuAssertIntEquals(tc, 1, APR_STATUS_IS_EABOVEROOT(rv)); + CuAssertPtrEquals(tc, NULL, dstpath); CuAssertStrEquals(tc, "The given path was above the root path", errmsg); } |