This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new fc86158080 Additional debug (failure observed on Windows)
fc86158080 is described below
commit fc86158080fe23bd77b9553c0b302ece270a169f
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Jun 19 15:53:52 2026 +0100
Additional debug (failure observed on Windows)
---
test/org/apache/catalina/util/TestServerInfo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/catalina/util/TestServerInfo.java
b/test/org/apache/catalina/util/TestServerInfo.java
index de101cb02d..968d0a7e9f 100644
--- a/test/org/apache/catalina/util/TestServerInfo.java
+++ b/test/org/apache/catalina/util/TestServerInfo.java
@@ -297,13 +297,13 @@ public class TestServerInfo {
if (line.contains("APR Version:")) {
foundAprVersion = true;
// APR version should be in format like "1.7.0"
- Assert.assertTrue("APR Version line should contain version
number",
+ Assert.assertTrue("APR Version line should contain version
number\n" + output,
line.matches(".*APR Version:\\s+\\d+\\.\\d+.*"));
}
if (line.contains("Tomcat Native:")) {
foundTcnVersion = true;
// Tomcat Native version should be in format like "2.0.5"
- Assert.assertTrue("Tomcat Native line should contain version
number",
+ Assert.assertTrue("Tomcat Native line should contain version
number\n" + output,
line.matches(".*Tomcat Native:\\s+\\d+\\.\\d+.*"));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]