summaryrefslogtreecommitdiff
path: root/test/testnames.c
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2006-03-01 14:33:03 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2006-03-01 14:33:03 +0000
commitfb6a0fc0cefa011fd5ebbd2b4a68fe3519bb0900 (patch)
treef758241f575d1b26dad87b6fd3e72caf8e6a2835 /test/testnames.c
parent14dcd992ed48135bfa8437c6f6f920f01de6080a (diff)
downloadlibapr-fb6a0fc0cefa011fd5ebbd2b4a68fe3519bb0900.tar.gz
* test/testnames.c (root_from_cwd_and_back): Fix segfault on
non-Win32. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@382033 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testnames.c')
-rw-r--r--test/testnames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testnames.c b/test/testnames.c
index 386da8c00..68aa44480 100644
--- a/test/testnames.c
+++ b/test/testnames.c
@@ -223,7 +223,7 @@ static void root_from_cwd_and_back(abts_case *tc, void *data)
ABTS_STR_EQUAL(tc, origpath + 3, path);
#else
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
- ABTS_STR_EQUAL(tc, '/', root);
+ ABTS_STR_EQUAL(tc, "/", root);
ABTS_STR_EQUAL(tc, origpath + 1, path);
#endif