wrowe 2002/12/31 10:00:57
Modified: test testnames.c
Log:
Look at the status before the pointer result
Revision Changes Path
1.14 +1 -1 apr/test/testnames.c
Index: testnames.c
===================================================================
RCS file: /home/cvs/apr/test/testnames.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- testnames.c 31 Dec 2002 17:51:21 -0000 1.13
+++ testnames.c 31 Dec 2002 18:00:57 -0000 1.14
@@ -75,8 +75,8 @@
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);
}