Author: rhuijben
Date: Mon Nov 2 19:12:47 2015
New Revision: 1712116
URL: http://svn.apache.org/viewvc?rev=1712116&view=rev
Log:
* test/test_internal.c
(test_runtime_versions): Make check less strict. Only major version needs
to match.
Modified:
serf/trunk/test/test_internal.c
Modified: serf/trunk/test/test_internal.c
URL:
http://svn.apache.org/viewvc/serf/trunk/test/test_internal.c?rev=1712116&r1=1712115&r2=1712116&view=diff
==============================================================================
--- serf/trunk/test/test_internal.c (original)
+++ serf/trunk/test/test_internal.c Mon Nov 2 19:12:47 2015
@@ -397,7 +397,6 @@ static void test_header_buckets_remove(C
static void test_runtime_versions(CuTest *tc)
{
- test_baton_t *tb = tc->testBaton;
apr_version_t version_of_apr;
#if APR_MAJOR_VERSION < 2
apr_version_t version_of_aprutil;
@@ -420,7 +419,7 @@ static void test_runtime_versions(CuTest
if (version_of_aprutil.minor == APU_MINOR_VERSION)
CuAssertTrue(tc, version_of_aprutil.patch >= APU_PATCH_VERSION);
- CuAssertIntEquals(tc, APR_MINOR_VERSION, APU_MINOR_VERSION);
+ CuAssertIntEquals(tc, APR_MAJOR_VERSION, APU_MAJOR_VERSION);
#endif
}