summaryrefslogtreecommitdiff
path: root/test/testvsn.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2004-05-14 14:43:22 +0000
committerRyan Bloom <rbb@apache.org>2004-05-14 14:43:22 +0000
commitb8c498a2f535207e18f9dc0928997c0f170b3986 (patch)
tree37a7667ab997537e737213188d1a584be9b15c97 /test/testvsn.c
parentd2589d6ebf8ce78b98593f8bedbb96602fbe137b (diff)
downloadapr-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/testvsn.c')
-rw-r--r--test/testvsn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testvsn.c b/test/testvsn.c
index a6b7d8dc1..32c0bd5b3 100644
--- a/test/testvsn.c
+++ b/test/testvsn.c
@@ -22,7 +22,7 @@
static void test_strings(abts_case *tc, void *data)
{
- abts_str_equal(tc, APR_VERSION_STRING, apr_version_string());
+ ABTS_STR_EQUAL(tc, APR_VERSION_STRING, apr_version_string());
}
static void test_ints(abts_case *tc, void *data)
@@ -31,9 +31,9 @@ static void test_ints(abts_case *tc, void *data)
apr_version(&vsn);
- abts_int_equal(tc, APR_MAJOR_VERSION, vsn.major);
- abts_int_equal(tc, APR_MINOR_VERSION, vsn.minor);
- abts_int_equal(tc, APR_PATCH_VERSION, vsn.patch);
+ ABTS_INT_EQUAL(tc, APR_MAJOR_VERSION, vsn.major);
+ ABTS_INT_EQUAL(tc, APR_MINOR_VERSION, vsn.minor);
+ ABTS_INT_EQUAL(tc, APR_PATCH_VERSION, vsn.patch);
}
abts_suite *testvsn(abts_suite *suite)