You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/06/19 16:03:08 UTC
(tomcat) branch 11.0.x updated: Fix test failure on Windows
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 65d0ce4797 Fix test failure on Windows
65d0ce4797 is described below
commit 65d0ce47972fcafc8d12c28088138a25123043ba
Author: Administrator <Ad...@study05.homeinbox.net>
AuthorDate: Fri Jun 19 17:02:30 2026 +0100
Fix test failure on Windows
---
test/org/apache/catalina/util/TestServerInfo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/util/TestServerInfo.java b/test/org/apache/catalina/util/TestServerInfo.java
index 3c35308869..fda6edbeb9 100644
--- a/test/org/apache/catalina/util/TestServerInfo.java
+++ b/test/org/apache/catalina/util/TestServerInfo.java
@@ -289,7 +289,7 @@ public class TestServerInfo {
Assume.assumeTrue("APR not available", AprLifecycleListener.isAprAvailable());
// Verify version info format (should contain version numbers)
- String[] lines = output.split("\n");
+ String[] lines = output.split(System.lineSeparator());
boolean foundAprVersion = false;
boolean foundTcnVersion = false;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org