subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1808956 - /subversion/trunk/subversion/tests/cmdline/davautocheck.sh
Date Tue, 19 Sep 2017 22:51:47 GMT
Author: brane
Date: Tue Sep 19 22:51:47 2017
New Revision: 1808956

URL: http://svn.apache.org/viewvc?rev=1808956&view=rev
Log:
* subversion/tests/cmdline/davautocheck.sh:
   Document the reason for using the run-time instead of compile-time HTTPD
   version in the test driver.

Modified:
    subversion/trunk/subversion/tests/cmdline/davautocheck.sh

Modified: subversion/trunk/subversion/tests/cmdline/davautocheck.sh
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/davautocheck.sh?rev=1808956&r1=1808955&r2=1808956&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/davautocheck.sh (original)
+++ subversion/trunk/subversion/tests/cmdline/davautocheck.sh Tue Sep 19 22:51:47 2017
@@ -778,6 +778,12 @@ else
     || fail "Subversion client couldn't find and/or load ra_dav library '$HTTP_LIBRARY'"
 fi
 
+# Our configure script extracts the HTTPD version from
+# headers. However, that may not be the same as the runtime version;
+# an example of this discrepancy occurs on OSX 1.9.5, where the
+# headers report 2.2.26 but the server reports 2.2.29. Since our tests
+# use the version to interpret test case results, use the actual
+# runtime version here to avoid spurious test failures.
 HTTPD_VERSION="$($APXS -q HTTPD_VERSION)"
 
 if [ $# = 0 ]; then



Mime
View raw message