diff options
author | Ryan Bloom <rbb@apache.org> | 2004-05-14 14:43:22 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2004-05-14 14:43:22 +0000 |
commit | b8c498a2f535207e18f9dc0928997c0f170b3986 (patch) | |
tree | 37a7667ab997537e737213188d1a584be9b15c97 /test/testfnmatch.c | |
parent | d2589d6ebf8ce78b98593f8bedbb96602fbe137b (diff) | |
download | apr-b8c498a2f535207e18f9dc0928997c0f170b3986.tar.gz |
Add the line number to the verbose output from abts. This also removes
a test that is segfaulting in testshm. That will need to be fixed.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65095 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testfnmatch.c')
-rw-r--r-- | test/testfnmatch.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/testfnmatch.c b/test/testfnmatch.c index ac5c5347f..1442fff96 100644 --- a/test/testfnmatch.c +++ b/test/testfnmatch.c @@ -25,16 +25,16 @@ static void test_glob(abts_case *tc, void *data) apr_array_header_t *result; apr_status_t rv = apr_match_glob("data\\*.txt", &result, p); - abts_int_equal(tc, APR_SUCCESS, rv); + ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); /* XXX If we ever add a file that matches *.txt to data, then we need * to increase this. */ - abts_int_equal(tc, 2, result->nelts); + ABTS_INT_EQUAL(tc, 2, result->nelts); list = (char **)result->elts; for (i = 0; i < result->nelts; i++) { char *dot = strrchr(list[i], '.'); - abts_str_equal(tc, dot, ".txt"); + ABTS_STR_EQUAL(tc, dot, ".txt"); } } @@ -47,16 +47,16 @@ static void test_glob_currdir(abts_case *tc, void *data) apr_filepath_set("data", p); rv = apr_match_glob("*.txt", &result, p); - abts_int_equal(tc, APR_SUCCESS, rv); + ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); /* XXX If we ever add a file that matches *.txt to data, then we need * to increase this. */ - abts_int_equal(tc, 2, result->nelts); + ABTS_INT_EQUAL(tc, 2, result->nelts); list = (char **)result->elts; for (i = 0; i < result->nelts; i++) { char *dot = strrchr(list[i], '.'); - abts_str_equal(tc, dot, ".txt"); + ABTS_STR_EQUAL(tc, dot, ".txt"); } apr_filepath_set("..", p); } |