Author: rhuijben Date: Mon Nov 2 19:22:37 2015 New Revision: 1712121 URL: http://svn.apache.org/viewvc?rev=1712121&view=rev Log: * test/test_internal.c (test_runtime_versions): Fix stupid typo and add some temporary printf.
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=1712121&r1=1712120&r2=1712121&view=diff ============================================================================== --- serf/trunk/test/test_internal.c (original) +++ serf/trunk/test/test_internal.c Mon Nov 2 19:22:37 2015 @@ -407,7 +407,7 @@ static void test_runtime_versions(CuTest CuAssertIntEquals(tc, APR_MAJOR_VERSION, version_of_apr.major); CuAssertTrue(tc, version_of_apr.minor >= APR_MINOR_VERSION); - if (version_of_apr.minor -= APR_MINOR_VERSION) + if (version_of_apr.minor == APR_MINOR_VERSION) CuAssertTrue(tc, version_of_apr.patch >= APR_PATCH_VERSION); #if APR_MAJOR_VERSION < 2 @@ -421,6 +421,13 @@ static void test_runtime_versions(CuTest CuAssertIntEquals(tc, APR_MAJOR_VERSION, APU_MAJOR_VERSION); #endif + + printf("APR: %d.%d.%d vs %d.%d.%d\n", + version_of_apr.major, version_of_apr.minor, version_of_apr.patch, + APR_MAJOR_VERSION, APR_MINOR_VERSION, APR_PATCH_VERSION); + printf("APU: %d.%d.%d vs %d.%d.%d\n", + version_of_aprutil.major, version_of_aprutil.minor, version_of_aprutil.patch, + APU_MAJOR_VERSION, APU_MINOR_VERSION, APU_PATCH_VERSION); } CuSuite *test_internal(void)